edu.udo.cs.wvtool.main
Class WVTWordVector

java.lang.Object
  extended by edu.udo.cs.wvtool.main.WVTWordVector

public class WVTWordVector
extends java.lang.Object

Represents an individual word vector in non-sparse form. Along with the vector intself, the corresponding document information is referenced.

Version:
$Id: WVTWordVector.java,v 1.2 2006/06/06 11:45:23 mjwurst Exp $
Author:
Michael Wurst

Field Summary
private  WVTDocumentInfo documentInfo
          reference to the document information
private  double[] values
          the values
 
Constructor Summary
WVTWordVector()
          Creates a new instance of WVTWordVector
 
Method Summary
 WVTDocumentInfo getDocumentInfo()
          Returns the documentInfo.
 double[] getValues()
          Returns the values.
 void setDocumentInfo(WVTDocumentInfo documentInfo)
          Sets the documentInfo.
 void setValues(double[] values)
          Sets the values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

private double[] values
the values


documentInfo

private WVTDocumentInfo documentInfo
reference to the document information

Constructor Detail

WVTWordVector

public WVTWordVector()
Creates a new instance of WVTWordVector

Method Detail

getDocumentInfo

public WVTDocumentInfo getDocumentInfo()
Returns the documentInfo.

Returns:
WVTDocumentInfo


getValues

public double[] getValues()
Returns the values.

Returns:
double[]


setDocumentInfo

public void setDocumentInfo(WVTDocumentInfo documentInfo)
Sets the documentInfo.

Parameters:
documentInfo - The documentInfo to set


setValues

public void setValues(double[] values)
Sets the values.

Parameters:
values - The values to set