public class SCXMLFrontier extends org.apache.commons.scxml.SCXMLExecutor implements Frontier
Constructor and Description |
---|
SCXMLFrontier(PossibleState possibleState,
org.apache.commons.scxml.model.SCXML model)
Constructor
|
Modifier and Type | Method and Description |
---|---|
PossibleState |
getRoot() |
void |
searchForScenarios(Queue<Map<String,String>> queue,
AtomicBoolean flag)
Performs a DFS on the model, starting from root, placing results in the queue
Just a public wrapper for private dfs function
|
addListener, addListener, addListener, getCurrentStatus, getErrorReporter, getEvaluator, getEventdispatcher, getRootContext, getStateMachine, go, isSuperStep, registerInvokerClass, removeListener, removeListener, removeListener, reset, setErrorReporter, setEvaluator, setEventdispatcher, setRootContext, setStateMachine, setSuperStep, triggerEvent, triggerEvents, unregisterInvokerClass
public SCXMLFrontier(PossibleState possibleState, org.apache.commons.scxml.model.SCXML model)
possibleState
- the root node of the model and partial variable assignment to start a dfs frommodel
- the model textpublic void searchForScenarios(Queue<Map<String,String>> queue, AtomicBoolean flag)
searchForScenarios
in interface Frontier
queue
- the results queueflag
- used to stop the search before completionpublic PossibleState getRoot()
Copyright © 2014. All rights reserved.