org.omegahat.Environment.DataStructures
Interface Variable

All Known Subinterfaces:
DataVariable, Factor, OrderedFactor, RandomVariable

public interface Variable


Method Summary
 BasicFrame getDataFrame()
          Get the frame in which this variable object is contained.
 java.lang.String getName()
          Retrieve the name of the variable.
 long numObservations()
           
 BasicFrame setDataFrame(BasicFrame frame)
          Set the data frame in which this object is contained and has been registered.
 java.lang.String setName(java.lang.String name)
          Set the name of the string.
 java.lang.Object value(long which)
          Return the whichth observation.
 

Method Detail

getName

public java.lang.String getName()
Retrieve the name of the variable.

setName

public java.lang.String setName(java.lang.String name)
Set the name of the string.

getDataFrame

public BasicFrame getDataFrame()
Get the frame in which this variable object is contained. There may be omore than one in which case this gets complicated and cannot be used as is.

setDataFrame

public BasicFrame setDataFrame(BasicFrame frame)
Set the data frame in which this object is contained and has been registered.

value

public java.lang.Object value(long which)
Return the whichth observation.

numObservations

public long numObservations()