All Packages Class Hierarchy This Package Previous Next Index
Class aid.cbr.tools.core.cbrcase.ArrayWeightVector
java.lang.Object
|
+----aid.cbr.tools.core.cbrcase.ArrayWeightVector
- public class ArrayWeightVector
- extends Object
- implements WeightVector
Implements a weight vector with an array of float.
- Version:
- $Revision$, $Date$
- Author:
- M. Jaczynski
-
ArrayWeightVector(int)
- Creates a new weight vector.
-
clone()
-
-
getWeight(int)
-
-
setWeight(int, float)
- Sets the weigth of an indice.
-
size()
-
ArrayWeightVector
public ArrayWeightVector(int size)
- Creates a new weight vector.
- Parameters:
- size - the size of the array
setWeight
public void setWeight(int i,
float f)
- Sets the weigth of an indice.
- Parameters:
- i - the position
- f - the weight
getWeight
public float getWeight(int i)
size
public int size()
clone
public Object clone()
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index