public class InheritedAssignmentArray<V extends Variable<V,T>,T extends Value<V,T>> extends AssignmentArray<V,T> implements InheritedAssignment<V,T>
iAssignments, iIteration
iContexts, iHasInitialzedContext
Constructor and Description |
---|
InheritedAssignmentArray(Solution<V,T> parent,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Assignment index.
|
Assignment<V,T> |
getParentAssignment()
Return parent assignment.
|
long |
getVersion()
Version of the assignment (usually the iteration of the parent assignment at the time of creation)
|
assignedValues, assignedVariables, getIteration, getValueInternal, nrAssignedVariables, setValueInternal
assign, assign, clearContext, ensureInitializedContext, getAssignmentContext, getValue, nrUnassignedVariables, unassign, unassign, unassignedVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assign, assignedValues, assignedVariables, clearContext, getAssignmentContext, getIteration, getValue, nrAssignedVariables, nrUnassignedVariables, unassign, unassign, unassignedVariables
public InheritedAssignmentArray(Solution<V,T> parent, int index)
public int getIndex()
Assignment
public Assignment<V,T> getParentAssignment()
InheritedAssignment
getParentAssignment
in interface InheritedAssignment<V extends Variable<V,T>,T extends Value<V,T>>
public long getVersion()
InheritedAssignment
getVersion
in interface InheritedAssignment<V extends Variable<V,T>,T extends Value<V,T>>