@Deprecated public class McGregorChecks extends Object
Constructor and Description |
---|
McGregorChecks()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
case1(int g1Atom,
int g3Atom,
int g4Atom,
int rowAtom1,
int rowAtom2,
int columnAtom3,
int columnAtom4)
Deprecated.
|
protected static boolean |
case2(int g2Atom,
int g3Atom,
int g4Atom,
int rowAtom1,
int rowAtom2,
int columnAtom3,
int columnAtom4)
Deprecated.
|
protected static boolean |
case3(int g1Atom,
int g3Atom,
int g2Atom,
int rowAtom1,
int rowAtom2,
int columnAtom3,
int columnAtom4)
Deprecated.
|
protected static boolean |
case4(int g1Atom,
int g2Atom,
int g4Atom,
int rowAtom1,
int rowAtom2,
int columnAtom3,
int columnAtom4)
Deprecated.
|
protected static boolean |
cases(int g1Atom,
int g2Atom,
int g3Atom,
int g4Atom,
int rowAtom1,
int rowAtom2,
int columnAtom3,
int columnAtom4)
Deprecated.
|
protected static int |
changeCharBonds(int correspondingAtom,
String newSymbol,
int neighborBondNum,
IAtomContainer atomContainer,
List<String> cBondNeighbors)
Deprecated.
|
protected static int |
changeCharBonds(int correspondingAtom,
String newSymbol,
int neighborBondNum,
List<Integer> iBondNeighbors,
List<String> cBondNeighbors)
Deprecated.
|
protected static int |
countArcsLeft(List<Integer> tempmarcs,
int neighborBondNumA,
int neighborBondNumB)
Deprecated.
|
protected static List<String> |
generateCSetCopy(int bondNumber,
List<String> cSet)
Deprecated.
|
protected static List<String> |
generateCTabCopy(IAtomContainer atomContainer)
Deprecated.
|
protected static boolean |
isAtomMatch(String g1A,
String g2A,
String g1B,
String g2B)
Deprecated.
|
protected static boolean |
isFurtherMappingPossible(IAtomContainer source,
IAtomContainer target,
int neighborBondNumA,
int neighborBondNumB,
List<Integer> iBondNeighborAtomsA,
List<Integer> iBondNeighborAtomsB,
List<String> cBondNeighborsA,
List<String> cBondNeighborsB,
boolean shouldMatchBonds)
Deprecated.
|
protected static boolean |
isMatchFeasible(IAtomContainer ac1,
IBond bondA1,
IAtomContainer ac2,
IBond bondA2,
boolean shouldMatchBonds)
Deprecated.
|
protected static List<Integer> |
removeRecurringMappings(List<Integer> atomMapping)
Deprecated.
|
protected static void |
removeRedundantArcs(int row,
int column,
List<Integer> marcs,
McgregorHelper mcGregorHelper)
Deprecated.
The function is called in function partsearch.
|
protected static int |
removeTreeStructure(BinaryTree curStruc)
Deprecated.
|
protected static int |
searchCorrespondingAtom(int mappedAtomsSize,
int atomFromOtherMolecule,
int molecule,
List<Integer> mappedAtomsOrg)
Deprecated.
|
protected static List<Integer> |
setArcs(IAtomContainer source,
IAtomContainer target,
int neighborBondNumA,
int neighborBondNumB,
List<Integer> iBondNeighborAtomsA,
List<Integer> iBondNeighborAtomsB,
List<String> cBondNeighborsA,
List<String> cBondNeighborsB,
List<Integer> modifiedARCS,
boolean shouldMatchBonds)
Deprecated.
|
protected static boolean isFurtherMappingPossible(IAtomContainer source, IAtomContainer target, int neighborBondNumA, int neighborBondNumB, List<Integer> iBondNeighborAtomsA, List<Integer> iBondNeighborAtomsB, List<String> cBondNeighborsA, List<String> cBondNeighborsB, boolean shouldMatchBonds)
source
- target
- neighborBondNumA
- neighborBondNumB
- iBondNeighborAtomsA
- iBondNeighborAtomsB
- cBondNeighborsA
- cBondNeighborsB
- shouldMatchBonds
- protected static boolean isMatchFeasible(IAtomContainer ac1, IBond bondA1, IAtomContainer ac2, IBond bondA2, boolean shouldMatchBonds)
protected static int searchCorrespondingAtom(int mappedAtomsSize, int atomFromOtherMolecule, int molecule, List<Integer> mappedAtomsOrg)
mappedAtomsSize
- atomFromOtherMolecule
- molecule
- mappedAtomsOrg
- protected static boolean isAtomMatch(String g1A, String g2A, String g1B, String g2B)
g1A
- g2A
- g1B
- g2B
- protected static int removeTreeStructure(BinaryTree curStruc)
protected static List<Integer> removeRecurringMappings(List<Integer> atomMapping)
atomMapping
- protected static void removeRedundantArcs(int row, int column, List<Integer> marcs, McgregorHelper mcGregorHelper)
row
- column
- marcs
- mcGregorHelper
- protected static List<String> generateCSetCopy(int bondNumber, List<String> cSet)
bondNumber
- cSet
- protected static List<String> generateCTabCopy(IAtomContainer atomContainer) throws IOException
atomContainer
- IOException
protected static boolean case1(int g1Atom, int g3Atom, int g4Atom, int rowAtom1, int rowAtom2, int columnAtom3, int columnAtom4)
g1Atom
- g3Atom
- g4Atom
- rowAtom1
- rowAtom2
- columnAtom3
- columnAtom4
- protected static boolean case2(int g2Atom, int g3Atom, int g4Atom, int rowAtom1, int rowAtom2, int columnAtom3, int columnAtom4)
g2Atom
- g3Atom
- g4Atom
- rowAtom1
- rowAtom2
- columnAtom3
- columnAtom4
- protected static boolean case3(int g1Atom, int g3Atom, int g2Atom, int rowAtom1, int rowAtom2, int columnAtom3, int columnAtom4)
g1Atom
- g3Atom
- g2Atom
- rowAtom1
- rowAtom2
- columnAtom3
- columnAtom4
- protected static boolean case4(int g1Atom, int g2Atom, int g4Atom, int rowAtom1, int rowAtom2, int columnAtom3, int columnAtom4)
g1Atom
- g2Atom
- g4Atom
- rowAtom1
- rowAtom2
- columnAtom3
- columnAtom4
- protected static boolean cases(int g1Atom, int g2Atom, int g3Atom, int g4Atom, int rowAtom1, int rowAtom2, int columnAtom3, int columnAtom4)
g1Atom
- g2Atom
- g3Atom
- g4Atom
- rowAtom1
- rowAtom2
- columnAtom3
- columnAtom4
- protected static List<Integer> setArcs(IAtomContainer source, IAtomContainer target, int neighborBondNumA, int neighborBondNumB, List<Integer> iBondNeighborAtomsA, List<Integer> iBondNeighborAtomsB, List<String> cBondNeighborsA, List<String> cBondNeighborsB, List<Integer> modifiedARCS, boolean shouldMatchBonds)
source
- target
- neighborBondNumA
- neighborBondNumB
- iBondNeighborAtomsA
- iBondNeighborAtomsB
- cBondNeighborsA
- cBondNeighborsB
- modifiedARCS
- shouldMatchBonds
- protected static int countArcsLeft(List<Integer> tempmarcs, int neighborBondNumA, int neighborBondNumB)
tempmarcs
- neighborBondNumA
- neighborBondNumB
- protected static int changeCharBonds(int correspondingAtom, String newSymbol, int neighborBondNum, IAtomContainer atomContainer, List<String> cBondNeighbors)
correspondingAtom
- newSymbol
- neighborBondNum
- atomContainer
- cBondNeighbors
- Copyright © 2021. All rights reserved.