public class GlobalEntropyCalculator
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GlobalEntropyCalculator()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addMatrix(int index,
RMatrix m)
The method adds a RMatrix to the ArrayList maintaining the set of
RMatrices.
|
double |
getGlobalEntropy(int idx)
The methods returns the global entropy of the RMatrix in idx-th position.
|
java.lang.Iterable<java.lang.Integer> |
getKeySet() |
RMatrix |
getMatrix(int index)
Returns the RMatrix in idx-th position
|
int |
getMatrixCount()
Returns the number of RMatrices stored in the object.
|
int |
getMatrixIndex(RMatrix m)
Returns the index of the RMatrix.
|
public void addMatrix(int index, RMatrix m) throws org.openscience.cdk.exception.CDKException
index
- The unique index associated to the RMatrix.m
- The RMatrix to be added.org.openscience.cdk.exception.CDKException
public double getGlobalEntropy(int idx) throws org.openscience.cdk.exception.CDKException
idx
- The RMatrix position.org.openscience.cdk.exception.CDKException
public java.lang.Iterable<java.lang.Integer> getKeySet()
public int getMatrixIndex(RMatrix m) throws org.openscience.cdk.exception.CDKException
m
- The RMatrix for which the index is required.org.openscience.cdk.exception.CDKException
public int getMatrixCount()
public RMatrix getMatrix(int index) throws org.openscience.cdk.exception.CDKException
index
- The index of the required RMatrixorg.openscience.cdk.exception.CDKException