alun.markov
Class AbstractTable

java.lang.Object
  extended by alun.markov.AbstractTable
All Implemented Interfaces:
Function, Iterable, Table
Direct Known Subclasses:
DenseTable, SparseTable

public abstract class AbstractTable
extends java.lang.Object
implements Table


Constructor Summary
AbstractTable(java.util.Collection<? extends Variable> vars)
           
 
Method Summary
 java.util.Set<Variable> getVariables()
          Returns the Set of Variables that are arguments to the function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface alun.markov.Table
allocateSpace, freeSpace, increase, initToZero, invert, multiply, scale, setValue, size, sum
 
Methods inherited from interface alun.markov.Function
getValue
 
Methods inherited from interface alun.markov.Iterable
init, next
 

Constructor Detail

AbstractTable

public AbstractTable(java.util.Collection<? extends Variable> vars)
Method Detail

getVariables

public java.util.Set<Variable> getVariables()
Description copied from interface: Function
Returns the Set of Variables that are arguments to the function.

Specified by:
getVariables in interface Function