@TestClass(value="org.openscience.cdk.graph.SpanningTreeTest") public class SpanningTree extends Object
Constructor and Description |
---|
SpanningTree(IAtomContainer atomContainer) |
Modifier and Type | Method and Description |
---|---|
IRingSet |
getAllRings() |
IRingSet |
getBasicRings() |
int |
getBondsAcyclicCount() |
int |
getBondsCyclicCount() |
IAtomContainer |
getCyclicFragmentsContainer()
Returns an IAtomContainer which contains all the atoms and bonds which
are involved in ring systems.
|
IAtomContainer |
getPath(IAtomContainer spt,
IAtom a1,
IAtom a2) |
IAtomContainer |
getSpanningTree() |
int |
getSpanningTreeSize() |
boolean |
isDisconnected() |
@TestMethod(value="testSpanningTree_IAtomContainer") public SpanningTree(IAtomContainer atomContainer)
@TestMethod(value="testIsDisconnected") public boolean isDisconnected()
@TestMethod(value="testGetSpanningTree") public IAtomContainer getSpanningTree()
@TestMethod(value="testGetPath_IAtomContainer_IAtom_IAtom") public IAtomContainer getPath(IAtomContainer spt, IAtom a1, IAtom a2) throws NoSuchAtomException
NoSuchAtomException
@TestMethod(value="testGetBasicRings") public IRingSet getBasicRings() throws NoSuchAtomException
NoSuchAtomException
@TestMethod(value="testGetCyclicFragmentsContainer") public IAtomContainer getCyclicFragmentsContainer()
getAllRings()
,
getBasicRings()
@TestMethod(value="testGetAllRings") public IRingSet getAllRings() throws NoSuchAtomException
NoSuchAtomException
@TestMethod(value="testGetSpanningTreeSize") public int getSpanningTreeSize()
@TestMethod(value="testGetBondsAcyclicCount") public int getBondsAcyclicCount()
@TestMethod(value="testGetBondsCyclicCount") public int getBondsCyclicCount()