Package org.svvrl.goal.core.tran
Class TranslateToNGBWByLOSNGBW<T extends Logic>
java.lang.Object
org.svvrl.goal.core.AbstractAlgorithm
org.svvrl.goal.core.AbstractControllableAlgorithm
org.svvrl.goal.core.AbstractEditableAlgorithm
org.svvrl.goal.core.tran.AbstractTranslator<T,FSA>
org.svvrl.goal.core.tran.TranslateToNGBWByLOSNGBW<T>
- Type Parameters:
T
- the type of the logic
- All Implemented Interfaces:
java.util.EventListener
,Algorithm
,AlgorithmListener
,ControllableAlgorithm
,EditableAlgorithm
,Translator<T,FSA>
- Direct Known Subclasses:
ExtendedGPVWPlusTranslators.LTL2NGBW
,ExtendedGPVWTranslators.LTL2NGBW
,ExtendedLTL2AUTPlusTranslators.LTL2NGBW
,ExtendedLTL2AUTTranslators.LTL2NGBW
,ExtendedModellaTranslators.LTL2NGBW
,IncTableauPlusTranslators.LTL2NGBW
,IncTableauTranslators.LTL2NGBW
,ModellaTranslators.LTL2NGBW
,PMT02Translators.ACTL2NGBW
,TableauTranslators.LTL2NGBW
,TemporalTesterTranslators.LTL2NGBW
public class TranslateToNGBWByLOSNGBW<T extends Logic> extends AbstractTranslator<T,FSA>
This is a translator from a logic formula to an equivalent NGBW by utilizing
another translator from formulae of that logic to equivalent label-on-state
NGBW. It first translates the formula to an equivalent label-on-state NGBW by
the underlying translator, and then converts the label-on-state NGBW to an
equivalent NGBW.
- Author:
- Ming-Hsien Tsai
-
Constructor Summary
Constructors Constructor Description TranslateToNGBWByLOSNGBW(Translator<T,FSA> t)
Constructs this object to translate a logic formula to an equivalent NGBW with the help of a translator from formulae in the logic to equivalent label-on-state NGBW. -
Method Summary
Modifier and Type Method Description Editable
getIntermediateResult()
Returns the intermediate result of this translator.Translator<T,FSA>
newInstance()
Creates a new translator instance same as this one.FSA
translate(T f)
Translates a logic formula to an automaton.Methods inherited from class org.svvrl.goal.core.AbstractControllableAlgorithm
addControllableListener, addSubAlgorithm, doPause, doStage, doStart, doStep, fireReferenceChangedEvent, getInterval, getStages, getStatus, pause, pause, removeControllableListener, removeSubAlgorithm, setInterval, setStages, setStatus, setSynchronizationObject, stagePause, stagePause
Methods inherited from class org.svvrl.goal.core.AbstractAlgorithm
addAlgorithmListener, addProgress, appendStageMessage, appendStepMessage, getAlgorithmListeners, getCurrentProgress, getMaximalProgress, getMinimalProgress, getName, getOptions, getSubAlgorithms, isDeterministicProgress, removeAlgorithmListener, setCurrentProgress, setDeterministicProgress, setMaximalProgress, setMinimalProgress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.svvrl.goal.core.Algorithm
addAlgorithmListener, getAlgorithmListeners, getOptions, removeAlgorithmListener
Methods inherited from interface org.svvrl.goal.core.AlgorithmListener
appendStageMessage, appendStepMessage, getCurrentProgress, getMaximalProgress, getMinimalProgress, setCurrentProgress, setDeterministicProgress, setMaximalProgress, setMinimalProgress
Methods inherited from interface org.svvrl.goal.core.ControllableAlgorithm
addControllableListener, doPause, doStage, doStart, doStep, getInterval, getStages, getStatus, removeControllableListener, setInterval, setStages, setStatus, setSynchronizationObject
-
Constructor Details
-
TranslateToNGBWByLOSNGBW
Constructs this object to translate a logic formula to an equivalent NGBW with the help of a translator from formulae in the logic to equivalent label-on-state NGBW.- Parameters:
t
- a translator from formulae in the logic to equivalent label-on-state NGBW
-
-
Method Details
-
getIntermediateResult
Description copied from interface:Translator
Returns the intermediate result of this translator. This method can be used for displaying the intermediate result during the step-by-step translation.- Returns:
- the intermediate result of this translator
-
translate
Description copied from interface:Translator
Translates a logic formula to an automaton.- Parameters:
f
- a logic formula to be translate- Returns:
- the automaton translated from
formula
- Throws:
UnsupportedException
- ifformula
is not supported by this translator
-
newInstance
Description copied from interface:Translator
Creates a new translator instance same as this one.- Returns:
- a new translator instance same as this one
-