public class NoIsolatedNodesAutomatonAction extends ComputationAction<NoIsolatedNodesAutomaton>
Constructor and Description |
---|
NoIsolatedNodesAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature)
Creates a new
Action to create a new no-isolated-nodes automaton with maximum
interface size maximumInterface over the signature signature using the
default no-isolated-nodes encoding. |
NoIsolatedNodesAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature,
String encodingName)
Creates a new
Action to create a new no-isolated-nodes automaton with maximum
interface size maximumInterface over the signature signature using
the no-isolated-nodes encoding named by encodingName . |
Modifier and Type | Method and Description |
---|---|
void |
addComputationListener(ComputationListener l)
Adds the Computation Listener
l to this action. |
void |
cancelComputation()
Cancels the computation started by execution of this
ComputationAction . |
void |
execute()
Causes this action to begin execution.
|
NoIsolatedNodesAutomaton |
getResult()
Returns the result of the computation.
|
void |
removeComputationListener(ComputationListener l)
Removes the Computation Listener
l from this action. |
getElapsedTime
public NoIsolatedNodesAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature)
Action
to create a new no-isolated-nodes automaton with maximum
interface size maximumInterface
over the signature signature
using the
default no-isolated-nodes encoding.maximumInterface
- the maximum interface sizeinnerInterface
- size of the inner interfaceouterInterface
- size of the outer interfacesignature
- the signature of the automatonNoIsolatedNodesAutomatonAction(int, int, int, Signature, String)
,
AutomatonFactory
,
NoIsolatedNodesAutomaton
,
NoIsolatedNodesEncoding
,
DefaultNoIsolatedNodesEncoding
public NoIsolatedNodesAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature, String encodingName)
Action
to create a new no-isolated-nodes automaton with maximum
interface size maximumInterface
over the signature signature
using
the no-isolated-nodes encoding named by encodingName
.maximumInterface
- the maximum interface sizeinnerInterface
- size of the inner interfaceouterInterface
- size of the outer interfacesignature
- the signature of the automatonencodingName
- the name of the no-isolated-nodes encodingNoIsolatedNodesAutomatonAction(int, int, int, Signature)
,
AutomatonFactory
,
NoIsolatedNodesAutomaton
,
NoIsolatedNodesEncoding
,
DefaultNoIsolatedNodesEncoding
public void execute()
Action
public NoIsolatedNodesAutomaton getResult()
ComputationAction
getResult
in class ComputationAction<NoIsolatedNodesAutomaton>
public void addComputationListener(ComputationListener l)
ComputationAction
l
to this action.addComputationListener
in class ComputationAction<NoIsolatedNodesAutomaton>
l
- the listener to receive computation eventspublic void removeComputationListener(ComputationListener l)
ComputationAction
l
from this action.removeComputationListener
in class ComputationAction<NoIsolatedNodesAutomaton>
l
- the listener to be removedpublic void cancelComputation()
ComputationAction
ComputationAction
.cancelComputation
in class ComputationAction<NoIsolatedNodesAutomaton>
Action.execute()