1package denoptim.fragmenter;
3import java.util.HashMap;
6import java.util.logging.Level;
7import java.util.logging.Logger;
9import org.openscience.cdk.interfaces.IAtom;
10import org.openscience.cdk.interfaces.IAtomContainer;
11import org.openscience.cdk.isomorphism.Mappings;
13import denoptim.constants.DENOPTIMConstants;
14import denoptim.exception.DENOPTIMException;
15import denoptim.graph.APClass;
16import denoptim.utils.ManySMARTSQuery;
17import denoptim.utils.MoleculeUtils;
141 for (
int i=1; i<anyLength.length; i++) {
SMARTS-based rules to identify potential bridge head atoms for ring fusion operations.
int lengthInAtoms
Number of atoms in the existing bridge connecting the bridge-head atoms, including the bridge-head at...
int[] getAllowedBridgeLength(int maxRingSize)
int getExistingBridgeLength()
BridgeHeadFindingRule(String name, String smarts, int[] bridgeHeadPositions, int[] allowedBridgeLength, int lengthInAtoms)
Constructs a new rule defined by the given arguments.
int[] getAllowedBridgeLength()
String smarts
SMARTS query matching the substructure of interest.
int[] bridgeHeadPositions
The indexes of the atoms that can be bridge head in the matches substructure.
String ruleName
Rule name.
int[] getBridgeHeadPositions()
int[] allowedBridgeLength
Allowed bridge length in number of atoms.
String getName()
Returns the name of this rule.