Class QPTL2BA

All Implemented Interfaces:
java.util.EventListener, Algorithm, AlgorithmListener, ControllableAlgorithm, EditableAlgorithm, Translator<QPTL,​FSA>

public class QPTL2BA
extends AbstractTranslator<QPTL,​FSA>
This translator is a wrapper of QPTL2BAFuture and QPTL2BACanonical.
Author:
Ming-Hsien Tsai
  • Field Details

  • Constructor Details

    • QPTL2BA

      public QPTL2BA()
      Constructs this translation algorithm with default options.
    • QPTL2BA

      public QPTL2BA​(Properties options)
      Constructs this translation algorithm with custom options.
      Parameters:
      options - custom options
    • QPTL2BA

      public QPTL2BA​(Properties options, Translator<LTL,​FSA> tran)
      Constructs this translation algorithm with custom options and an underlying LTL translation algorithm.
      Parameters:
      options - custom options
      tran - an LTL translation algorithm
  • Method Details

    • getIntermediateResult

      public Editable 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

      public FSA translate​(QPTL formula) throws UnsupportedException
      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 - if formula is not supported by this translator
    • newInstance

      public Translator<QPTL,​FSA> newInstance()
      Description copied from interface: Translator
      Creates a new translator instance same as this one.
      Returns:
      a new translator instance same as this one