public abstract class ElectronDonation extends Object
cdk()
/cdkAllowingExocyclic()
- uses the information
form the preset CDK atom types to determine how many electrons each atom
should contribute. The model can either allow or exclude contributions
from exocyclic pi bonds. This model requires that atom types have be
perceived.
piBonds()
- a simple model only allowing cyclic pi bonds to
contribute. This model only requires that bond orders are set.
daylight()
- a model similar to that used by Daylight for SMILES.
This model does not require atom types to be defined but every atom should
have it's hydrogen count set.
ElectronDonation model = ElectronDonation.cdk();
Constructor and Description |
---|
ElectronDonation() |
Modifier and Type | Method and Description |
---|---|
static ElectronDonation |
cdk()
Use the preset CDK atom types to determine the electron contribution of
atoms.
|
static ElectronDonation |
cdkAllowingExocyclic()
Use the preset CDK atom types to determine the electron contribution of
atoms.
|
static ElectronDonation |
daylight()
Electron donation model closely mirroring the Daylight model for use in
generating SMILES.
|
static ElectronDonation |
piBonds()
A very simple aromaticity model which only allows atoms adjacent to
cyclic pi bonds.
|
public static ElectronDonation cdk()
org.openscience.cdk.interfaces.IAtom.Hybridization#SP2
or
org.openscience.cdk.interfaces.IAtom.Hybridization#PLANAR3
hybridised. The CDKConstants.PI_BOND_COUNT
and
CDKConstants.LONE_PAIR_COUNT
to determine how
many electrons an atom type can contribute. Generally these values are
not automatically configured and so several atom types are cached
for lookup: IAtomType.getAtomTypeName()
public static ElectronDonation cdkAllowingExocyclic()
org.openscience.cdk.interfaces.IAtom.Hybridization#SP2
or
org.openscience.cdk.interfaces.IAtom.Hybridization#PLANAR3
hybridised. The CDKConstants.PI_BOND_COUNT
and
CDKConstants.LONE_PAIR_COUNT
to determine how
many electrons an atom type can contribute. Generally these values are
not automatically configured and so several atom types are cached
for lookup: IAtomType.getAtomTypeName()
public static ElectronDonation piBonds()
public static ElectronDonation daylight()
Copyright © 2018. All Rights Reserved.