|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.reaction.CutBondReviser
chemaxon.reaction.Recap
The RECAP module. Fragments molecules along configurable cut-bond reactions with the application of the following rules:
Notlist.
minatomcount.
Reference:
RECAP - Retrosynthetic Combinatorial Analysis Procedure: A Powerful New Technique for Identifying Privileged Molecular Fragments with Useful Applications in Combinatorical Chemistry, J. Chem. Inf. Comput. Sci. 1998, 38. 511-522
| Field Summary |
| Fields inherited from class chemaxon.reaction.CutBondReviser |
classifier, fragmenter, mol |
| Constructor Summary | |
Recap()
Default constructor. |
|
Recap(Molecule[] notlist,
int maxcutcount,
int minatomcount,
boolean cutRingCHetero)
Constructor. |
|
| Method Summary | |
void |
clear(int a1,
int a2)
Clears cut-bond info in arrays. |
protected void |
init(org.dom4j.Element element,
Standardizer standardizer,
java.lang.String dir)
Initializes the reviser. |
boolean |
revise(int a1,
int a2)
Returns true if the cut-bond is accepted, false otherwise.
|
void |
set(int a1,
int a2)
Sets cut-bond info in arrays. |
void |
setCutRingCHetero(boolean cutRingCHetero)
Sets whether cuts between ring carbons and hetero atoms are allowed. |
void |
setMaxCutCount(int maxcutcount)
Sets the maximum number of cuts per fragment. |
void |
setMinAtomCount(int minatomcount)
Sets the minimum number of atoms per fragment. |
protected void |
setMolecule(Molecule mol)
Sets the input molecule. |
void |
setNotlist(Molecule[] notlist)
Sets the Notlist array. |
| Methods inherited from class chemaxon.reaction.CutBondReviser |
create, getMolecule, setFragmenter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Recap()
public Recap(Molecule[] notlist,
int maxcutcount,
int minatomcount,
boolean cutRingCHetero)
notlist - is the list of forbidden fragmentsmaxcutcount - is the maximum number of open bonds in a fragmentminatomcount - is the minimum number of atoms in a fragment| Method Detail |
protected void init(org.dom4j.Element element,
Standardizer standardizer,
java.lang.String dir)
throws java.io.IOException
init in class CutBondReviserelement - is the configuration DOM element nodestandardizer - is the standardizer objectdir - is the root directory
java.io.IOException - on configuration errorpublic void setNotlist(Molecule[] notlist)
Notlist array.
notlist - is the forbidden block listpublic void setMaxCutCount(int maxcutcount)
maxcutcount - is the maximum number of cuts per fragmentpublic void setMinAtomCount(int minatomcount)
minatomcount - is the minimum number of atoms per fragmentpublic void setCutRingCHetero(boolean cutRingCHetero)
cutRingCHetero - is true if cuts between ring carbons
and hetero atoms are allowed
protected void setMolecule(Molecule mol)
throws chemaxon.sss.search.SearchException
setMolecule in class CutBondRevisermol - is the input molecule
chemaxon.sss.search.SearchException - on error
public boolean revise(int a1,
int a2)
true if the cut-bond is accepted, false otherwise.
Recap refuses a cut precisely in the following cases:
Notlist.
maxcutcount.
minatomcount.
revise in class CutBondRevisera1 - is the first atom index of the cut-bonda2 - is the second atom index of the cut-bond
public void set(int a1,
int a2)
atom2cutcount, atom2rootdfs,
atom2dfs and dfs2atom arrays.
Resets acut.
set in class CutBondRevisera1 - is the first atom of the cut-bond (in DFS order)a2 - is the second atom of the cut-bond (in DFS order)
public void clear(int a1,
int a2)
atom2cutcount, atom2rootdfs,
atom2dfs and dfs2atom arrays.
clear in class CutBondRevisera1 - is the first atom of the cut-bonda2 - is the second atom of the cut-bond
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||