Package qsardes.molecule
Class AbstractMoleculeBuilder
java.lang.Object
qsardes.molecule.AbstractMoleculeBuilder
- Direct Known Subclasses:
MoleculeBuilderQsarME,MoleculeBuilderQsarWB
Builds a molecular representation.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMoleculeBuilder(String smiles) Constructs a molecular representation. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected org.openscience.cdk.interfaces.IAtomContainerintintorg.jgrapht.graph.DefaultDirectedGraph<Integer,CustomEdge> Gets the directed graph of the molecular representation.intprotected org.openscience.cdk.interfaces.IAtomContainerset_atom_container(org.openscience.cdk.interfaces.IAtomContainer iac)
-
Constructor Details
-
AbstractMoleculeBuilder
Constructs a molecular representation.- Parameters:
smiles- Molecular SMILES.- Throws:
org.openscience.cdk.exception.InvalidSmilesExceptionException
-
-
Method Details
-
get_graph
Gets the directed graph of the molecular representation.- Returns:
- directed graph.
-
get_atom_count
public int get_atom_count() -
get_bond_count
public int get_bond_count() -
get_implicit_hydrogens_count
public int get_implicit_hydrogens_count() -
get_atom_container
protected org.openscience.cdk.interfaces.IAtomContainer get_atom_container() -
set_atom_container
protected org.openscience.cdk.interfaces.IAtomContainer set_atom_container(org.openscience.cdk.interfaces.IAtomContainer iac) -
configure_atoms
protected void configure_atoms() throws org.openscience.cdk.exception.CDKException- Throws:
org.openscience.cdk.exception.CDKException
-
build_graph
protected void build_graph()
-