ResonanceStructureGenerator.
More...
◆ __init__()
Initializes a copy of the ResonanceStructureGenerator instance gen.
- Parameters
-
gen | The ResonanceStructureGenerator instance to copy. |
◆ getObjectID()
int CDPL.Chem.ResonanceStructureGenerator.getObjectID |
( |
| ) |
|
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ResonanceStructureGenerator instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two ResonanceStructureGenerator instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
- Returns
- The numeric ID of the internally referenced C++ class instance.
◆ assign()
Replaces the current state of self with a copy of the state of the ResonanceStructureGenerator instance gen.
- Parameters
-
gen | The ResonanceStructureGenerator instance to copy. |
- Returns
- self
◆ octetRuleViolationsMinimized()
bool CDPL.Chem.ResonanceStructureGenerator.octetRuleViolationsMinimized |
( |
| ) |
|
◆ minimizeOctetRuleViolations()
None CDPL.Chem.ResonanceStructureGenerator.minimizeOctetRuleViolations |
( |
bool |
minimize | ) |
|
◆ sp1GeometryViolationsMinimized()
bool CDPL.Chem.ResonanceStructureGenerator.sp1GeometryViolationsMinimized |
( |
| ) |
|
◆ minimizeSP1GeometryViolations()
None CDPL.Chem.ResonanceStructureGenerator.minimizeSP1GeometryViolations |
( |
bool |
minimize | ) |
|
◆ carbonBond12ChargesMinimized()
bool CDPL.Chem.ResonanceStructureGenerator.carbonBond12ChargesMinimized |
( |
| ) |
|
◆ minimizeCarbonBond12Charges()
None CDPL.Chem.ResonanceStructureGenerator.minimizeCarbonBond12Charges |
( |
bool |
minimize | ) |
|
◆ getOctetRuleCheckAtomTypes()
Util.BitSet CDPL.Chem.ResonanceStructureGenerator.getOctetRuleCheckAtomTypes |
( |
| ) |
|
◆ getChargeCountWindow()
int CDPL.Chem.ResonanceStructureGenerator.getChargeCountWindow |
( |
| ) |
|
◆ setChargeCountWindow()
None CDPL.Chem.ResonanceStructureGenerator.setChargeCountWindow |
( |
int |
win_size | ) |
|
◆ getMaxNumGeneratedStructures()
int CDPL.Chem.ResonanceStructureGenerator.getMaxNumGeneratedStructures |
( |
| ) |
|
◆ setMaxNumGeneratedStructures()
None CDPL.Chem.ResonanceStructureGenerator.setMaxNumGeneratedStructures |
( |
int |
max_num | ) |
|
◆ generate()
None CDPL.Chem.ResonanceStructureGenerator.generate |
( |
MolecularGraph |
molgraph | ) |
|
Generates all unique resonanceStructures of the molecular graph molgraph.
- Parameters
-
molgraph | The molecular graph for which to generate the resonanceStructures. |
◆ getNumStructures()
int CDPL.Chem.ResonanceStructureGenerator.getNumStructures |
( |
| ) |
|
◆ getStructureData()
StructureData CDPL.Chem.ResonanceStructureGenerator.getStructureData |
( |
int |
idx | ) |
|
◆ __getitem__()
StructureData CDPL.Chem.ResonanceStructureGenerator.__getitem__ |
( |
int |
idx | ) |
|
◆ __len__()
int CDPL.Chem.ResonanceStructureGenerator.__len__ |
( |
| ) |
|