public class IUPACNameGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected List<org.openscience.cdk.interfaces.IAtom> |
acyclicAtoms |
protected List<AcyclicComponent> |
acyclicComponents |
protected Map<org.openscience.cdk.interfaces.IAtom,int[]> |
atomRingNumbers |
protected List<IIUPACComponent> |
components |
protected org.openscience.cdk.graph.Cycles |
cycles |
protected List<org.openscience.cdk.interfaces.IAtom> |
cyclicAtoms |
protected List<CyclicComponent> |
cyclicComponents |
protected int |
cyclomaticNum |
protected List<ComponentConnection> |
initialConnections |
protected org.openscience.cdk.interfaces.IAtomContainer |
molecule |
protected org.openscience.cdk.interfaces.IAtomContainer |
originalMolecule |
protected org.openscience.cdk.interfaces.IRingSet |
ringSet |
protected IUPACRuleDataBase |
ruleDataBase |
protected List<org.openscience.cdk.interfaces.IAtom> |
spiroAtoms |
Constructor and Description |
---|
IUPACNameGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
findCyclicAndAcyclicComponets() |
protected void |
findSpiroAtoms() |
protected AcyclicComponent |
generateAcyclicComponent(org.openscience.cdk.interfaces.IAtom startAtom) |
protected void |
generateComponents() |
String |
generateIUPACName(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected IIUPACComponent |
getBestRankComponent() |
String |
getComponentDataAsString() |
protected CyclicComponent |
getCyclicComponentForAtom(org.openscience.cdk.interfaces.IAtom at) |
protected CyclicComponent |
getCyclicComponentFusedToRing(org.openscience.cdk.interfaces.IAtomContainer ring) |
protected ComponentConnection |
getInitialConnection(IIUPACComponent c0,
IIUPACComponent c1) |
protected int |
getRingNumber(org.openscience.cdk.interfaces.IAtomContainer ring) |
IUPACRuleDataBase |
getRuleDataBase() |
protected void |
init() |
protected void |
makeRindData() |
protected void |
nullify() |
protected void |
processAcyclicComponent(AcyclicComponent acomp) |
protected IUPACRuleDataBase ruleDataBase
protected org.openscience.cdk.interfaces.IAtomContainer originalMolecule
protected org.openscience.cdk.interfaces.IAtomContainer molecule
protected int cyclomaticNum
protected org.openscience.cdk.graph.Cycles cycles
protected org.openscience.cdk.interfaces.IRingSet ringSet
protected Map<org.openscience.cdk.interfaces.IAtom,int[]> atomRingNumbers
protected List<org.openscience.cdk.interfaces.IAtom> spiroAtoms
protected List<org.openscience.cdk.interfaces.IAtom> acyclicAtoms
protected List<org.openscience.cdk.interfaces.IAtom> cyclicAtoms
protected List<CyclicComponent> cyclicComponents
protected List<AcyclicComponent> acyclicComponents
protected List<IIUPACComponent> components
protected List<ComponentConnection> initialConnections
public IUPACRuleDataBase getRuleDataBase()
public String generateIUPACName(org.openscience.cdk.interfaces.IAtomContainer mol) throws Exception
Exception
protected void nullify()
protected void init()
protected void makeRindData()
protected void findSpiroAtoms()
protected int getRingNumber(org.openscience.cdk.interfaces.IAtomContainer ring)
protected void generateComponents()
protected void findCyclicAndAcyclicComponets()
protected AcyclicComponent generateAcyclicComponent(org.openscience.cdk.interfaces.IAtom startAtom)
protected CyclicComponent getCyclicComponentFusedToRing(org.openscience.cdk.interfaces.IAtomContainer ring)
protected CyclicComponent getCyclicComponentForAtom(org.openscience.cdk.interfaces.IAtom at)
protected ComponentConnection getInitialConnection(IIUPACComponent c0, IIUPACComponent c1)
protected void processAcyclicComponent(AcyclicComponent acomp)
protected IIUPACComponent getBestRankComponent()
public String getComponentDataAsString()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.