|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.logic.model.SubjectVariableInterpreter
public final class SubjectVariableInterpreter
This class interpretation.
Constructor Summary | |
---|---|
SubjectVariableInterpreter(Model model)
Constructor. |
Method Summary | |
---|---|
void |
addSubjectVariable(SubjectVariable var)
Add subject variable. |
void |
clear()
Clear variable interpretation. |
void |
forceAddSubjectVariable(SubjectVariable var,
int value)
Add subject variable even if already existing. |
void |
forceRemoveSubjectVariable(SubjectVariable var)
Remove existing subject variable interpretation. |
Entity |
getEntity(SubjectVariable var)
Get current interpretation of subject variable. |
void |
increaseSubjectVariableSelection(SubjectVariable var)
Set interpretation of subject variable to next entity. |
boolean |
next()
Change to next valuation. |
void |
removeSubjectVariable(SubjectVariable var)
Remove existing subject variable interpretation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubjectVariableInterpreter(Model model)
model
- Model we work on.Method Detail |
---|
public boolean next()
public void addSubjectVariable(SubjectVariable var)
var
- Subject variable to add to our interpretation.public void forceAddSubjectVariable(SubjectVariable var, int value)
var
- Remove this subject variable.value
- Set interpretation to this entity number.public void forceRemoveSubjectVariable(SubjectVariable var)
var
- Remove this subject variable.public void removeSubjectVariable(SubjectVariable var)
var
- Remove this subject variable.public Entity getEntity(SubjectVariable var)
var
- Subject variable we are interested in.
public void increaseSubjectVariableSelection(SubjectVariable var)
var
- Switch to next entity for this subject variable.public java.lang.String toString()
toString
in class java.lang.Object
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |