|
|||||||||
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.StateSpaceShortestPath
public class StateSpaceShortestPath
Dijkstra's shortest path algorithm for state spaces.
Constructor Summary | |
---|---|
StateSpaceShortestPath()
Default constructor. |
Method Summary | |
---|---|
void |
computeShortestPaths(List<State> startStates)
Compute the shortest paths from a given set of start states. |
Path |
getShortestPath(State target)
Get the shortest path for a given target state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateSpaceShortestPath()
Method Detail |
---|
public void computeShortestPaths(List<State> startStates)
startStates
- Start states.public Path getShortestPath(State target)
target
- Target state.
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |