public class BackwardEmptinessCheck extends Object implements EmptinessCheckAlgorithm
EmptinessCheckAlgorithm.Implementations
Algorithm.OrderingType, Algorithm.SearchType
Constructor and Description |
---|
BackwardEmptinessCheck() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsEmptyLanguage(Automaton automaton)
Returns
true if and only if the language of the automaton automaton is the |
void |
addComputationListener(ComputationListener l)
Adds the Computation Listener
l to this algorithm. |
void |
cancelComputation()
Cancels the computation of this algorithm.
|
void |
removeComputationListener(ComputationListener l)
Removes the Computation Listener
l from this algorithm. |
public boolean acceptsEmptyLanguage(Automaton automaton)
EmptinessCheckAlgorithm
true
if and only if the language of the automaton automaton
is the acceptsEmptyLanguage
in interface EmptinessCheckAlgorithm
automaton
- the automaton to be checkedtrue
if the language of the automaton is the empty language,
false
otherwisepublic void addComputationListener(ComputationListener l)
Algorithm
l
to this algorithm.addComputationListener
in interface Algorithm
l
- the listener to receive computation eventspublic void removeComputationListener(ComputationListener l)
Algorithm
l
from this algorithm.removeComputationListener
in interface Algorithm
l
- the listener to be removedpublic void cancelComputation()
Algorithm
cancelComputation
in interface Algorithm