Package com.actelion.research.chem.mmp
Class MMPFragments
- java.lang.Object
-
- com.actelion.research.chem.mmp.MMPFragments
-
public class MMPFragments extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MMPFragments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFragments(int moleculeIndex, MMPFragmenter.MoleculeIndexID moleculeIndexID)Adds a new molecule fragmentvoidaddFragments(int moleculeIndex, java.util.List<MMPFragmenter.MoleculeIndexID> moleculeIndexesID)Adds all molecule fragmentation variationsintgetFragmentsCount()Get the number of fragmentsvoidwriteFragments(java.io.PrintWriter printWriter)Writes the Molecules Fragments block
-
-
-
Method Detail
-
addFragments
public void addFragments(int moleculeIndex, java.util.List<MMPFragmenter.MoleculeIndexID> moleculeIndexesID)Adds all molecule fragmentation variations- Parameters:
moleculeIndex- Index of the moleculemoleculeIndexesID- All fragmentation variations
-
addFragments
public void addFragments(int moleculeIndex, MMPFragmenter.MoleculeIndexID moleculeIndexID)Adds a new molecule fragment- Parameters:
moleculeIndex- Index of the moleculemoleculeIndexID- One fragmentation variation of the molecule
-
writeFragments
public void writeFragments(java.io.PrintWriter printWriter) throws java.io.IOExceptionWrites the Molecules Fragments block- Parameters:
printWriter-- Throws:
java.io.IOException
-
getFragmentsCount
public int getFragmentsCount()
Get the number of fragments- Returns:
-
-