dbStat
Class VectorField

java.lang.Object
  extended byjqubeObjects.Field
      extended bydbStat.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
 
Method Summary
 double getFieldDvalue()
          Gets the field value
 void setFieldDvalue(double dval)
          Sets the field value
 java.lang.String toString()
           
 
Methods inherited from class jqubeObjects.Field
getFieldName, getFieldValue, setFieldName, setFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fieldDvalue

private double fieldDvalue
the value this field contains

Constructor Detail

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 field
dval - the value of the field
Method Detail

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()