public class SubgraphAutomatonAction extends ComputationAction<SubgraphAutomaton>
Constructor and Description |
---|
SubgraphAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature,
Graph subgraph)
Creates a new
Action to create a new subgraph automaton with maximum interface size
maximumInterface over the signature signature and the wanted subgraph
subgraph using the default subgraph encoding. |
SubgraphAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature,
Graph subgraph,
String encodingName)
Creates a new
Action to create a new subgraph automaton with maximum interface size
maximumInterface over the signature signature and the wanted subgraph
subgraph using the subgraph 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.
|
SubgraphAutomaton |
getResult()
Returns the result of the computation.
|
void |
removeComputationListener(ComputationListener l)
Removes the Computation Listener
l from this action. |
getElapsedTime
public SubgraphAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature, Graph subgraph)
Action
to create a new subgraph automaton with maximum interface size
maximumInterface
over the signature signature
and the wanted subgraph
subgraph
using the default subgraph encoding.maximumInterface
- the maximum interface sizeinnerInterface
- size of the inner interfaceouterInterface
- size of the outer interfacesignature
- the signature of the automatonsubgraph
- the wanted subgraphSubgraphAutomatonAction(int, int, int, Signature, Graph, String)
,
AutomatonFactory
,
SubgraphAutomaton
,
SubgraphEncoding
,
DefaultSubgraphEncoding
public SubgraphAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature, Graph subgraph, String encodingName)
Action
to create a new subgraph automaton with maximum interface size
maximumInterface
over the signature signature
and the wanted subgraph
subgraph
using the subgraph encoding named by encodingName
.maximumInterface
- the maximum interface sizeinnerInterface
- size of the inner interfaceouterInterface
- size of the outer interfacesignature
- the signature of the automatonsubgraph
- the wanted subgraphencodingName
- the name of the subgraph encodingSubgraphAutomatonAction(int, int, int, Signature, Graph)
,
AutomatonFactory
,
SubgraphAutomaton
,
SubgraphEncoding
,
DefaultSubgraphEncoding
public void execute()
Action
public SubgraphAutomaton getResult()
ComputationAction
getResult
in class ComputationAction<SubgraphAutomaton>
public void addComputationListener(ComputationListener l)
ComputationAction
l
to this action.addComputationListener
in class ComputationAction<SubgraphAutomaton>
l
- the listener to receive computation eventspublic void removeComputationListener(ComputationListener l)
ComputationAction
l
from this action.removeComputationListener
in class ComputationAction<SubgraphAutomaton>
l
- the listener to be removedpublic void cancelComputation()
ComputationAction
ComputationAction
.cancelComputation
in class ComputationAction<SubgraphAutomaton>
Action.execute()