$darkmode
DENOPTIM
|
The RingClosingAttractor represent the available valence/connection that allows to close a ring. More...
Public Member Functions | |
RingClosingAttractor () | |
Constructor for an empty RingClosingAttractor. More... | |
RingClosingAttractor (IAtom atm, IAtomContainer mol) | |
Constructor for a RingClosingAttractor corresponding to an atom in an IAtomContainer . More... | |
boolean | isAttractor () |
Checks whether the constructed RingClosingAttractor does corresponds to a RingClosingAttractor in the molecular representation. More... | |
boolean | isCompatible (RingClosingAttractor other) |
Evaluate compatibility between this RingClosingAttractor and another one. More... | |
String | getType () |
Get the type of RingClosingAttractor. More... | |
IAtom | getIAtom () |
Get the atom corresponding to this RingClosingAttractor in the molecular representation. More... | |
void | setIAtom (IAtom atm) |
Change the reference to the atom in the molecular representation. More... | |
IAtom | getSrcAtom () |
Get the atom in the parent fragment that holds the attachment point occupied by this RingClosingAttractor. More... | |
APClass | getApClass () |
Get the class of the Attachment Point occupied (i.e., in the parent fragment) by this RingClosingAttractor, if any. More... | |
BondType | getRCBondType () |
Get the type of bond this attractor is meant to close. More... | |
Ring | getRingUser () |
Get the reference to the graph representation of the ring this attractor is meant to close. More... | |
void | setUsed () |
Set this RingClosingAttractor to 'used'. More... | |
boolean | isUsed () |
Check if this RingClosingAttractor has been used to close a ring and is not available any more. More... | |
Double | getParamA11 () |
Double | getParamB11 () |
Double | getParamA12 () |
Double | getParamB12 () |
String | toString () |
Static Public Attributes | |
static final HashMap< APClass, String > | RCALABELPERAPCLASS |
Conventional labels for attractor pseudoatom. More... | |
static final Set< APClass > | RCAAPCLASSSET |
Recognized APClass for RingClosingAttractor . More... | |
static final Map< APClass, APClass > | RCAAPCMAP |
Recognized APClass es on RingClosingAttractor and compatible types. More... | |
static final Map< String, String > | RCATYPEMAP |
Recognized types of RingClosingAttractor and compatible types. More... | |
Package Attributes | |
final Map< String, Double > | paramAR11 |
Parameter A for points in 1,1 relationship. More... | |
final Map< String, Double > | paramBR11 |
Parameter B for points in 1,1 relationship. More... | |
final Map< String, Double > | paramAR12 |
Parameter A for points in 1,2 relationship. More... | |
final Map< String, Double > | paramBR12 |
Parameter B for points in 1,2 relationship. More... | |
Private Attributes | |
Double | attA11 = 0.0 |
Parameter A for 1,1 interaction. More... | |
Double | attB11 = 0.0 |
Parameter B for 1,1 interaction. More... | |
Double | attA12 = 0.0 |
Parameter A for 1,2 interaction. More... | |
Double | attB12 = 0.0 |
Parameter B for 1,2 interaction. More... | |
String | attType = "none" |
Type of this attractor. More... | |
IAtom | atm |
Pseudo atom representing RingClosingAttractor in molecule. More... | |
IAtom | src |
Atom hosting the RingClosingAttractor. More... | |
APClass | apClass |
Class of the Attachment Point represented by this RCA. More... | |
BondType | bndTyp |
Type of ring-closing bond that this ring-closing attractor is there to create. More... | |
Ring | ringUser |
Reference to the graph Ring that represent the intention to close a ring of vertices in DENOPTIM's graph representation of the chemical object. More... | |
boolean | used = false |
Flag: this RingClosingAttractor is used to close a ring. More... | |
The RingClosingAttractor represent the available valence/connection that allows to close a ring.
The RingClosingAttractor is a fragment that has one real attachment point and a virtual one reserved for forming a new bond with another RingClosingAttractor that belongs to the same atom chain thus forming a ring.
Definition at line 48 of file RingClosingAttractor.java.
denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor | ( | ) |
Constructor for an empty RingClosingAttractor.
Definition at line 258 of file RingClosingAttractor.java.
denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor | ( | IAtom | atm, |
IAtomContainer | mol | ||
) |
Constructor for a RingClosingAttractor
corresponding to an atom in an IAtomContainer
.
Note that any atom can be used to construct a RingClosingAttractor
, but only the elemental symbol stored in RingClosingAttractor#RCATYPEMAP
are recognized and trigger the perception of the candidate atom as a RingClosingAttractor
. In which case the isAttractor()
method will return true
.
atm | the atom candidate to become a RingClosingAttractor . |
mol | the molecule containing the candidate atom. |
Definition at line 279 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.atm, denoptim.utils.MoleculeUtils.getSymbolOrLabel(), denoptim.graph.rings.RingClosingAttractor.isAttractor(), denoptim.graph.rings.RingClosingAttractor.paramAR11, denoptim.graph.rings.RingClosingAttractor.paramAR12, denoptim.graph.rings.RingClosingAttractor.paramBR11, denoptim.graph.rings.RingClosingAttractor.paramBR12, denoptim.constants.DENOPTIMConstants.RCAPROPAPCTORCA, denoptim.constants.DENOPTIMConstants.RCAPROPCHORDBNDTYP, denoptim.constants.DENOPTIMConstants.RCAPROPRINGUSER, and denoptim.graph.rings.RingClosingAttractor.RCATYPEMAP.
APClass denoptim.graph.rings.RingClosingAttractor.getApClass | ( | ) |
Get the class of the Attachment Point occupied (i.e., in the parent fragment) by this RingClosingAttractor, if any.
Definition at line 397 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.apClass.
IAtom denoptim.graph.rings.RingClosingAttractor.getIAtom | ( | ) |
Get the atom corresponding to this RingClosingAttractor in the molecular representation.
Definition at line 359 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.atm.
Referenced by denoptim.molecularmodeling.RingClosureTool.closeRings().
Double denoptim.graph.rings.RingClosingAttractor.getParamA11 | ( | ) |
Definition at line 459 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attA11.
Referenced by denoptim.molecularmodeling.RingClosureTool.attemptRingClosure().
Double denoptim.graph.rings.RingClosingAttractor.getParamA12 | ( | ) |
Definition at line 483 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attA12.
Double denoptim.graph.rings.RingClosingAttractor.getParamB11 | ( | ) |
Definition at line 471 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attB11.
Referenced by denoptim.molecularmodeling.RingClosureTool.attemptRingClosure().
Double denoptim.graph.rings.RingClosingAttractor.getParamB12 | ( | ) |
Definition at line 495 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attB12.
BondType denoptim.graph.rings.RingClosingAttractor.getRCBondType | ( | ) |
Get the type of bond this attractor is meant to close.
Definition at line 409 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.bndTyp.
Referenced by denoptim.molecularmodeling.RingClosureTool.closeRings().
Ring denoptim.graph.rings.RingClosingAttractor.getRingUser | ( | ) |
Get the reference to the graph representation of the ring this attractor is meant to close.
Definition at line 422 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.ringUser.
Referenced by denoptim.molecularmodeling.ChemicalObjectModel.convertRingsToRCACombinations().
IAtom denoptim.graph.rings.RingClosingAttractor.getSrcAtom | ( | ) |
Get the atom in the parent fragment that holds the attachment point occupied by this RingClosingAttractor.
Definition at line 384 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.src.
Referenced by denoptim.molecularmodeling.RingClosureTool.attemptRingClosure(), and denoptim.molecularmodeling.RingClosureTool.closeRings().
String denoptim.graph.rings.RingClosingAttractor.getType | ( | ) |
Get the type of RingClosingAttractor.
Definition at line 346 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attType.
boolean denoptim.graph.rings.RingClosingAttractor.isAttractor | ( | ) |
Checks whether the constructed RingClosingAttractor does corresponds to a RingClosingAttractor in the molecular representation.
true
if this is a real RingClosingAttractor Definition at line 320 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingSizeManager.calculateCompatibilityOfAllRCAPairs(), denoptim.molecularmodeling.ChemicalObjectModel.findAttractors(), denoptim.utils.RingClosingUtils.findAttractors(), and denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
boolean denoptim.graph.rings.RingClosingAttractor.isCompatible | ( | RingClosingAttractor | other | ) |
Evaluate compatibility between this RingClosingAttractor and another one.
true
is this and the other RingClosingAttractor are compatible. Definition at line 333 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.attType, and denoptim.graph.rings.RingClosingAttractor.RCATYPEMAP.
Referenced by denoptim.graph.rings.RingSizeManager.calculateCompatibilityOfAllRCAPairs().
boolean denoptim.graph.rings.RingClosingAttractor.isUsed | ( | ) |
Check if this RingClosingAttractor has been used to close a ring and is not available any more.
true
if already used Definition at line 447 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.used.
void denoptim.graph.rings.RingClosingAttractor.setIAtom | ( | IAtom | atm | ) |
Change the reference to the atom in the molecular representation.
atm | the new reference |
Definition at line 371 of file RingClosingAttractor.java.
References denoptim.graph.rings.RingClosingAttractor.atm.
void denoptim.graph.rings.RingClosingAttractor.setUsed | ( | ) |
Set this RingClosingAttractor to 'used'.
Once the 'used' flag is set this RingClosingAttractor cannot be used to close rings any more
Definition at line 434 of file RingClosingAttractor.java.
Referenced by denoptim.molecularmodeling.RingClosureTool.closeRings().
String denoptim.graph.rings.RingClosingAttractor.toString | ( | ) |
Definition at line 506 of file RingClosingAttractor.java.
References denoptim.utils.MoleculeUtils.getSymbolOrLabel().
|
private |
Class of the Attachment Point represented by this RCA.
Definition at line 149 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getApClass().
|
private |
Pseudo atom representing RingClosingAttractor in molecule.
Definition at line 139 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getIAtom(), denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor(), and denoptim.graph.rings.RingClosingAttractor.setIAtom().
|
private |
Parameter A for 1,1 interaction.
Definition at line 114 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getParamA11().
|
private |
Parameter A for 1,2 interaction.
Definition at line 124 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getParamA12().
|
private |
Parameter B for 1,1 interaction.
Definition at line 119 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getParamB11().
|
private |
Parameter B for 1,2 interaction.
Definition at line 129 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getParamB12().
|
private |
Type of this attractor.
Definition at line 134 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getType(), and denoptim.graph.rings.RingClosingAttractor.isCompatible().
|
private |
Type of ring-closing bond that this ring-closing attractor is there to create.
Definition at line 155 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getRCBondType().
|
package |
Parameter A for points in 1,1 relationship.
Definition at line 53 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
|
package |
Parameter A for points in 1,2 relationship.
Definition at line 84 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
|
package |
Parameter B for points in 1,1 relationship.
Definition at line 69 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
|
package |
Parameter B for points in 1,2 relationship.
Definition at line 99 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
|
static |
Recognized APClass
for RingClosingAttractor
.
Definition at line 193 of file RingClosingAttractor.java.
Referenced by denoptim.graph.Vertex.convertIACToVertex(), denoptim.graph.Fragment.Fragment(), denoptim.graph.APClass.getUnique(), and denoptim.graph.Vertex.newVertexFromLibrary().
Recognized APClass
es on RingClosingAttractor
and compatible types.
This is equivalent to RCATYPEMAP
but is expressed in terms of APClass
instead of pseudoatom label.
Definition at line 212 of file RingClosingAttractor.java.
Referenced by denoptim.ga.GraphOperations.addRing().
|
static |
Conventional labels for attractor pseudoatom.
Definition at line 172 of file RingClosingAttractor.java.
Referenced by denoptim.fragspace.FragmentSpace.getPolarizedRCV(), denoptim.fragmenter.FragmenterTools.getRCPForAP(), denoptim.graph.rings.RingSizeManagerTest.makeTestGraphA(), denoptim.ga.GraphOperationsTest.testAddRing(), denoptim.graph.rings.PathClosabilityToolsTest.testEvaluateConstitutionalClosability(), denoptim.graph.rings.RandomCombOfRingIteratorTest.testEvaluateConstitutionalClosability(), denoptim.graph.rings.RingSizeManagerTest.testEvaluateRCVPair(), denoptim.fragspace.FragmentSpaceTest.testGetRCVsForAPClass(), and denoptim.fragspace.FragmentSpaceTest.testGetRCVsWithAPClass().
|
static |
Recognized types of RingClosingAttractor
and compatible types.
This is equivalent to RingClosingAttractor#RCAAPCMAP
but is expressed in terms of pseudoatom label. instead of APClass
.
Definition at line 233 of file RingClosingAttractor.java.
Referenced by denoptim.graph.DGraph.checkConsistency(), denoptim.utils.ConnectedLigand.ConnectedLigand(), denoptim.graph.rings.RingClosingAttractor.isCompatible(), denoptim.utils.MoleculeUtils.removeRCA(), and denoptim.graph.rings.RingClosingAttractor.RingClosingAttractor().
|
private |
Reference to the graph Ring
that represent the intention to close a ring of vertices in DENOPTIM's graph representation of the chemical object.
Definition at line 162 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getRingUser().
|
private |
Atom hosting the RingClosingAttractor.
Definition at line 144 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.getSrcAtom().
|
private |
Flag: this RingClosingAttractor is used to close a ring.
Definition at line 167 of file RingClosingAttractor.java.
Referenced by denoptim.graph.rings.RingClosingAttractor.isUsed().