|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.unibi.techfak.jpredictor.clustering.RelationMeasure
de.unibi.techfak.jpredictor.clustering.MatrixRelationMeasure
public abstract class MatrixRelationMeasure
Superclass for all relations defined on two or more matrices filled with numerical values. A matrix in this sense is a collection of arrays.
| Field Summary | |
|---|---|
(package private) java.util.Vector |
matrixList
The list of matrices. |
| Fields inherited from class de.unibi.techfak.jpredictor.clustering.RelationMeasure |
|---|
computationResult |
| Fields inherited from interface de.unibi.techfak.jpredictor.clustering.Computable |
|---|
COMPUTATION_FAILED, COMPUTATION_PENDING, COMPUTATION_SUCCESS, COMPUTATION_WAITING |
| Constructor Summary | |
|---|---|
MatrixRelationMeasure()
|
|
| Method Summary | |
|---|---|
boolean |
add(double[][] v,
boolean clone)
Adds a matrix of double values to this class. |
boolean |
add(java.util.Vector v)
Adds a matrix to this class. |
void |
clear()
Empties the list of matrices in this class. |
int |
length()
Returns the length of the last matrix added to this measure. |
int |
lengthRow()
Returns the length of one row of the last matrix added to this measure. |
| Methods inherited from class de.unibi.techfak.jpredictor.clustering.RelationMeasure |
|---|
atomicCombine, atomicCombine, atomicNormalize, compareTo, newInstance, optimum, optimum, result, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.unibi.techfak.jpredictor.clustering.Computable |
|---|
compute |
| Field Detail |
|---|
java.util.Vector matrixList
double[][].
| Constructor Detail |
|---|
public MatrixRelationMeasure()
| Method Detail |
|---|
public void clear()
compute() will fail. Nevertheless,
the result is not cleared.
public int length()
public int lengthRow()
public boolean add(double[][] v,
boolean clone)
v - The matrix to be added.clone - Whether or not the matrix is to be deep cloned.
true if the matrix was added, false
otherwisepublic boolean add(java.util.Vector v)
Vector of either other Vectors which hold
Numbers or of arrays of ints or doubles. Both, even
mixed, is possible and will be recognized by this method. Note,
that column vectors or arrays, respectively, must be of the same
size, otherwise the matrix is not inserted and false
is returned.
v - The matrix to be added, which contains of double
or int arrays or of Vectors
of Numbers.
true if the matrix was added, false
otherwiseNumber
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||