cc.mallet.grmm.learning
Class ACRF.UnrolledVarSet
java.lang.Object
cc.mallet.grmm.types.HashVarSet
cc.mallet.grmm.learning.ACRF.UnrolledVarSet
- All Implemented Interfaces:
- VarSet, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set
- Enclosing class:
- ACRF
public static class ACRF.UnrolledVarSet
- extends HashVarSet
A clique in the unrolled graphical model (an instantiation of
some Template). Contains a pointer to its corresponding
template and a FeatureVector.
- See Also:
- Serialized Form
Methods inherited from class cc.mallet.grmm.types.HashVarSet |
add, add, addAll, assignmentIterator, clear, clone, contains, containsAll, equals, get, getLabel, hashCode, intersection, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString, toVariableArray, weight |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ACRF.UnrolledVarSet
public ACRF.UnrolledVarSet(ACRF.UnrolledGraph graph,
ACRF.Template tmpl,
Variable[] vars,
FeatureVector fv)
varDimensions
public int[] varDimensions()
lookupAssignmentNumber
public final int lookupAssignmentNumber()
lookupAssignment
public final Assignment lookupAssignment()
lookupNumberOfAssignment
public int lookupNumberOfAssignment(Assignment assn)
getTemplate
public ACRF.Template getTemplate()
getFv
public FeatureVector getFv()
getFactor
public Factor getFactor()
getLastChange
public double getLastChange()