|
|||||||||
| 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.VectorRelationMeasure
public abstract class VectorRelationMeasure
Superclass for all relations defined on two or more vectors. Vectors in this sense are e.g. nucleotides defined over the {A,C,G,T|U}, or amino acid occurrence counts of a multiple alignment. Or simply an array of numbers.
| Field Summary | |
|---|---|
(package private) java.util.Vector |
vectorList
The list of vectors. |
| 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 | |
|---|---|
VectorRelationMeasure()
|
|
| Method Summary | |
|---|---|
boolean |
add(double[] v,
boolean clone)
Adds a double array to the list of vectors. |
boolean |
add(int[] v)
Adds an int array to the list of vectors. |
boolean |
add(java.util.Vector v)
Adds a vector of numbers to the list of vectors. |
void |
clear()
Empties the list of arrays in this class. |
int |
length()
Returns the length of the last array 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 vectorList
double[].
| Constructor Detail |
|---|
public VectorRelationMeasure()
| Method Detail |
|---|
public void clear()
compute() will fail. Nevertheless, the
result is not cleared.
public int length()
public boolean add(double[] v,
boolean clone)
v - The array to be added.clone - Whether or not the array is to be cloned.
true if the array was added, false
otherwisepublic boolean add(java.util.Vector v)
Number should be
null.
v - The vector of numbers be added.
true if the array was added, false
otherwise, e.g. if one Number was null or
if one object was not a Number.public boolean add(int[] v)
v - The array to be added.
true if the array was added, false
otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||