public class EquivalentClassPartitioner extends Object
| Constructor and Description |
|---|
EquivalentClassPartitioner()
Constructor for the TopologicalEquivalentClass object.
|
EquivalentClassPartitioner(IAtomContainer atomContainer)
Constructor for the TopologicalEquivalentClass object.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
buildBondMatrix()
Build bond matrix.
|
double[][] |
buildNodeMatrix(double[] nodeSequence)
Build node Matrix.
|
double[][] |
buildTrialNodeMatrix(double[] weight)
Build trial node Matrix.
|
double[] |
buildWeightMatrix(double[][] nodeMatrix,
double[][] bondMatrix)
Build weight array for the given node matrix and bond matrix.
|
int |
checkDiffNumber(double[] weight)
Get different number of the given number.
|
int[] |
findTopoEquivClass(double[] weight)
Find the topological equivalent class for the given weight.
|
int[] |
getEquivalentClass(double[] weight)
Get the final equivalent class.
|
int[] |
getTopoEquivClassbyHuXu(IAtomContainer atomContainer)
Get the topological equivalent class of the molecule.
|
double[] |
prepareNode(IAtomContainer atomContainer)
Prepare the node identifier.
|
public EquivalentClassPartitioner()
public EquivalentClassPartitioner(IAtomContainer atomContainer)
public int[] getTopoEquivClassbyHuXu(IAtomContainer atomContainer) throws NoSuchAtomException
atomContainer - atoms and bonds of the moleculeNoSuchAtomExceptionpublic double[] prepareNode(IAtomContainer atomContainer)
atomContainer - atoms and bonds of the moleculepublic double[][] buildNodeMatrix(double[] nodeSequence)
nodeSequence - an array contains node number for each atompublic double[][] buildTrialNodeMatrix(double[] weight)
weight - an array contains the weight of atompublic double[][] buildBondMatrix()
public double[] buildWeightMatrix(double[][] nodeMatrix,
double[][] bondMatrix)
nodeMatrix - array contains node informationbondMatrix - array contains bond informationpublic int checkDiffNumber(double[] weight)
weight - array contains weight of the nodespublic int[] getEquivalentClass(double[] weight)
weight - array contains weight of the nodespublic int[] findTopoEquivClass(double[] weight)
weight - array contains weight of the nodesCopyright © 2021. All rights reserved.