|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.deepthought.sidious.supportsystem.Step
public class Step
This class represents a list of Adjustable
objects and their
setting.
Field Summary | |
---|---|
private java.util.Collection<Adjustable> |
adjustables
The adjustables of this. |
private Explanation |
explanation
The explanation of this. |
private static org.apache.commons.logging.Log |
logger
The logger for this class. |
Constructor Summary | |
---|---|
Step(java.util.Collection<Adjustable> adjustables)
Constructs a new Step object, specified by the input
adjustables . |
Method Summary | |
---|---|
State |
consequence(State state)
Calculates the consequence of applying the adjustments of this step to the input state. |
boolean |
equals(java.lang.Object obj)
|
java.util.Collection<Adjustable> |
getAdjustables()
Returns the adjustables of this step. |
Explanation |
getExplanation()
Gets the explanation of this. |
java.util.Collection<Step> |
getSteps()
Returns all possible steps emanating from this step. |
int |
hashCode()
|
void |
setExplanation(Explanation explanation)
Sets the explanation of this. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log logger
private final java.util.Collection<Adjustable> adjustables
private Explanation explanation
Constructor Detail |
---|
public Step(java.util.Collection<Adjustable> adjustables)
Step
object, specified by the input
adjustables
.
The input adjustables are copied defensively.
If the input collection is null
an empty step is created.
This is to facilitate graphs that do not utilize steps.
adjustables
- adjustables associated with this stepMethod Detail |
---|
public java.util.Collection<Step> getSteps()
The possible steps are calculated by collecting and combining all possible adjustments of all adjustables of this step.
public State consequence(State state)
state
- the input state
public java.util.Collection<Adjustable> getAdjustables()
public void setExplanation(Explanation explanation)
explanation
- the explanationpublic Explanation getExplanation()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |