|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.henshin.statespace.util.StateDistanceMonitor
public class StateDistanceMonitor
Utility class for keeping track of state distances.
Constructor Summary | |
---|---|
StateDistanceMonitor(StateSpace stateSpace)
Default constructor. |
Method Summary | |
---|---|
int |
getDistance(State state)
|
void |
updateDistance(State state)
Update the distances of a of states and all its successor states. |
void |
updateDistances(Collection<State> states)
Update the distances of a list of states and all their successor states. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateDistanceMonitor(StateSpace stateSpace)
stateSpace
- The state space.Method Detail |
---|
public void updateDistance(State state)
public void updateDistances(Collection<State> states)
public int getDistance(State state)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |