dbStat
Class VectorField
java.lang.Object
jqubeObjects.Field
dbStat.VectorField
- public class VectorField
- extends Field
Defines the lowest level storage structure for the lists of data
that will be stored by the vector that owns this, and many other
VectorFields.
Used in the k-means clustering algorithm.
|
Field Summary |
private double |
fieldDvalue
the value this field contains |
| Fields inherited from class jqubeObjects.Field |
|
|
Constructor Summary |
VectorField(java.lang.String name,
double dval)
Create an instance of the VectorField with the specified values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fieldDvalue
private double fieldDvalue
- the value this field contains
VectorField
public VectorField(java.lang.String name,
double dval)
- Create an instance of the VectorField with the specified values
- Parameters:
name - the name of the fielddval - the value of the field
setFieldDvalue
public void setFieldDvalue(double dval)
- Sets the field value
- Parameters:
dval - the value to set the field to
getFieldDvalue
public double getFieldDvalue()
- Gets the field value
- Returns:
- the field value for this object
toString
public java.lang.String toString()