Modifier and Type | Field and Description |
---|---|
static boolean |
debug
Debugging on/off
|
Constructor and Description |
---|
RingPartitioner() |
Modifier and Type | Method and Description |
---|---|
static IAtomContainer |
convertToAtomContainer(IRingSet ringSet)
Converts a RingSet to an AtomContainer.
|
static List<IRingSet> |
partitionRings(IRingSet ringSet)
Partitions a RingSet into RingSets of connected rings.
|
public static final boolean debug
public static List<IRingSet> partitionRings(IRingSet ringSet)
Note that an isolated ring is considered to be self-connect. As a result a molecule such as biphenyl will result in a 2-element List being returned (each element corresponding to a phenyl ring).
ringSet
- The RingSet to be partitionedList
of connected RingSetspublic static IAtomContainer convertToAtomContainer(IRingSet ringSet)
ringSet
- The RingSet to be converted.Copyright © 2017. All Rights Reserved.