public class DominatingSetAutomatonAction extends ComputationAction<DominatingSetAutomaton>
Constructor and Description |
---|
DominatingSetAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature,
int dominatingSize)
Creates a new
Action to create a new dominating set automaton with maximum interface
size maximumInterface over the signature signature and with a maximum
dominating set size dominatingSize using the default dominating set encoding. |
DominatingSetAutomatonAction(int maximumInterface,
int innerInterface,
int outerInterface,
Signature signature,
int dominatingSize,
String encodingName)
Creates a new
Action to create a new dominating set automaton with maximum interface
size maximumInterface over the signature signature and with a maximum
dominating set size dominatingSize using the dominating set 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.
|
DominatingSetAutomaton |
getResult()
Returns the result of the computation.
|
void |
removeComputationListener(ComputationListener l)
Removes the Computation Listener
l from this action. |
getElapsedTime
public DominatingSetAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature, int dominatingSize)
Action
to create a new dominating set automaton with maximum interface
size maximumInterface
over the signature signature
and with a maximum
dominating set size dominatingSize
using the default dominating set encoding.maximumInterface
- the maximum interface sizeinnerInterface
- the size of the inner interfaceouterInterface
- the size of the outer interfacesignature
- the signature of the automatondominatingSize
- the maximum size of the dominating setDominatingSetAutomatonAction(int, int, int, Signature, int, String)
,
AutomatonFactory
,
DominatingSetAutomaton
,
DominatingSetEncoding
,
DefaultDominatingSetEncoding
public DominatingSetAutomatonAction(int maximumInterface, int innerInterface, int outerInterface, Signature signature, int dominatingSize, String encodingName)
Action
to create a new dominating set automaton with maximum interface
size maximumInterface
over the signature signature
and with a maximum
dominating set size dominatingSize
using the dominating set encoding named by
encodingName
.maximumInterface
- the maximum interface sizeinnerInterface
- the size of the inner interfaceouterInterface
- the size of the outer interfacesignature
- the signature of the automatondominatingSize
- the maximum size of the dominating setencodingName
- the name of the dominating set encodingDominatingSetAutomatonAction(int, int, int, Signature, int)
,
AutomatonFactory
,
DominatingSetAutomaton
,
DominatingSetEncoding
,
DefaultDominatingSetEncoding
public void execute()
Action
public DominatingSetAutomaton getResult()
ComputationAction
getResult
in class ComputationAction<DominatingSetAutomaton>
public void addComputationListener(ComputationListener l)
ComputationAction
l
to this action.addComputationListener
in class ComputationAction<DominatingSetAutomaton>
l
- the listener to receive computation eventspublic void removeComputationListener(ComputationListener l)
ComputationAction
l
from this action.removeComputationListener
in class ComputationAction<DominatingSetAutomaton>
l
- the listener to be removedpublic void cancelComputation()
ComputationAction
ComputationAction
.cancelComputation
in class ComputationAction<DominatingSetAutomaton>
Action.execute()