Package org.svvrl.goal.core.tran.qptl2ba
Class QPTL2BAFuture
java.lang.Object
org.svvrl.goal.core.AbstractAlgorithm
org.svvrl.goal.core.AbstractControllableAlgorithm
org.svvrl.goal.core.AbstractEditableAlgorithm
org.svvrl.goal.core.tran.AbstractTranslator<QPTL,FSA>
org.svvrl.goal.core.tran.qptl2ba.QPTL2BAFuture
- All Implemented Interfaces:
java.util.EventListener
,Algorithm
,AlgorithmListener
,ControllableAlgorithm
,EditableAlgorithm
,Translator<QPTL,FSA>
public class QPTL2BAFuture extends AbstractTranslator<QPTL,FSA>
This class provides a translation from a QPTL formula without past operators
to an equivalent NBW. The formula to be translated is not required to be
convertible to an equivalent formula in prenex normal form. This translation
requires an underlying LTL translation algorithm and an NBW complementation
construction. While the underlying LTL translation algorithm can be specified
in the constructor, the complementation construction will always be the
default complementation construction set in the preference.
- Author:
- Ming-Hsien Tsai
-
Constructor Summary
Constructors Constructor Description QPTL2BAFuture()
Constructs this translation algorithm with default options.QPTL2BAFuture(Properties options)
Constructs this translation algorithm with custom options.QPTL2BAFuture(Properties options, Translator<LTL,FSA> tran)
Constructs this translation with custom options and an underlying LTL translation algorithm. -
Method Summary
Modifier and Type Method Description Editable
getIntermediateResult()
Returns the intermediate result of this translator.Translator<QPTL,FSA>
newInstance()
Creates a new translator instance same as this one.FSA
translate(QPTL formula)
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
-
QPTL2BAFuture
public QPTL2BAFuture()Constructs this translation algorithm with default options. -
QPTL2BAFuture
Constructs this translation algorithm with custom options.- Parameters:
options
- custom options
-
QPTL2BAFuture
Constructs this translation with custom options and an underlying LTL translation algorithm.- Parameters:
options
- custom optionstran
- an LTL translation algorithm
-
-
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:
formula
- 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
-