Logo Search packages:      
Sourcecode: cdk version File versions

org::openscience::cdk::graph::ConnectivityChecker Class Reference

List of all members.


Detailed Description

Tool class for checking whether the (sub)structure in an AtomContainer is connected. To check wether an AtomContainer is connected this code can be used:
  boolean isConnected = ConnectivityChecker.isConnected(atomContainer);
 

A disconnected AtomContainer can be fragmented into connected fragments by using code like:

   MoleculeSet fragments = ConnectivityChecker.partitionIntoMolecules(disconnectedContainer);
   int fragmentCount = fragments.getMoleculeCount();
 

.module standard

.keyword connectivity

Definition at line 53 of file ConnectivityChecker.java.


Static Public Member Functions

static boolean isConnected (IAtomContainer atomContainer)
static IMoleculeSet partitionIntoMolecules (IAtomContainer atomContainer)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index