|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.util.MoleculeKit
MoleculeKit is a collection of static utility methods for the
manipulation and analysis of Molecule objects.
| Method Summary | |
static void |
copyMolecule(Molecule molecule,
RepresentationBuilder builder)
Directs the specifed RepresentationBuilder by using the specifed
Molecule as a template. |
static boolean |
exactStructureMatch(Molecule input,
Molecule model)
Returns true if input and model are exact structure
matches, or false otherwise. |
static double |
getExactMass(Molecule molecule)
Returns the exact mass of the specified Molecule, in unified atomic mass units (u),
using the most abundant isotope of each Atom. |
static double |
getFormalBondOrder(Atom source,
Atom target,
Molecule molecule)
Returns the formal bond order between source and
target. |
static double |
getFormalCharge(Atom atom,
Molecule molecule)
Returns the formal charge of atom. |
static double |
getMass(Molecule molecule)
Returns the sum of all atomic masses, in unified atomic mass units (u), of molecule. |
static double |
getValence(Atom atom,
Molecule molecule)
Returns the simple sum of bond orders for all atom pairs in which
atom participates. |
static void |
printMolecule(Molecule molecule,
java.io.PrintStream out)
Prints a text-only representation of the indicated Molecule
to the indicated PrintStream. |
static boolean |
substructureMatch(Molecule input,
Molecule model)
Returns true if input matches model as a substructure,
or false otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static double getFormalCharge(Atom atom,
Molecule molecule)
atom. This value is determined as
outlined in JCICS
atom - the atommolecule - the molecule
public static double getValence(Atom atom,
Molecule molecule)
atom participates.
atom - the atom
atom
public static double getFormalBondOrder(Atom source,
Atom target,
Molecule molecule)
source and
target. This value is determined as
outlined in JCICS
source - the source atomtarget - the target atom
source and targetpublic static double getMass(Molecule molecule)
molecule.
molecule - the Molecule
public static double getExactMass(Molecule molecule)
Molecule, in unified atomic mass units (u),
using the most abundant isotope of each Atom.
molecule - the Molecule
public static void printMolecule(Molecule molecule,
java.io.PrintStream out)
Molecule
to the indicated PrintStream.
molecule - the moleculeout - the PrintStream
public static void copyMolecule(Molecule molecule,
RepresentationBuilder builder)
Directs the specifed RepresentationBuilder by using the specifed
Molecule as a template. This implementation does not
copy Configuration or Conformation. Typical usage:
Molecule molecule = ... ; MoleculeBuilder builder = ... ; MoleculeKit.copyMolecule(molecule, builder); Molecule newMolecule = builder.releaseMolecule();
This implementation does not currently copy atomic Configuration or
Conformation.
molecule - the Molecule to copybuilder - the RepresentationBuilder to use
public static boolean exactStructureMatch(Molecule input,
Molecule model)
Returns true if input and model are exact structure
matches, or false otherwise. The designations input and model
are interchangeable.
input - the input Moleculemodel - the model Molecule
TemplateMoleculeQuery
public static boolean substructureMatch(Molecule input,
Molecule model)
true if input matches model as a substructure,
or false otherwise.
input - the Molecule to be tested as a substructure of modelmodel - the Molecule to be tested as a superstructure of input
true if input matches model as a substructure,
or false otherwiseTemplateMoleculeQuery
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||