The Octet Molecular Representation Framework v0.8.2

net.sf.octet.model
Interface MoleculeConvertor

All Known Implementing Classes:
BasicMoleculeConvertor

public interface MoleculeConvertor

Transforms a Molecule into a set of instructions for a RepresentationBuilder. MolculeConvertor can be used to change a Molecule's form of representation. For example, if a third party re-implements a performance-optimized RepresentationBuilder that constructs memory-efficient Molecules, MolculeConvertor could be used to ensure that other Molecule represesentations are converted into this more efficient form. Other possible uses include writing molecular representation to various molecular file formats.

Author:
Richard Apodaca

Method Summary
 void convert(Molecule molecule, RepresentationBuilder builder)
          Converts molecule into a series of instructions for builder.
 

Method Detail

convert

public void convert(Molecule molecule,
                    RepresentationBuilder builder)
Converts molecule into a series of instructions for builder.

Parameters:
molecule - the molecule to be converted
builder - the RepresentationBuilder for constructing the new representation

The Octet Molecular Representation Framework v0.8.2