Class QPTL2NBWByLTL2NBW

All Implemented Interfaces:
java.util.EventListener, Algorithm, AlgorithmListener, ControllableAlgorithm, EditableAlgorithm, Translator<QPTL,​FSA>
Direct Known Subclasses:
CCJ09Translators.QPTL2NBW, CouvreurTranslators.QPTL2NBW, CouvreurTranslators.QPTL2NTGBW, ExtendedCouvreurTranslators.QPTL2NBW, ExtendedCouvreurTranslators.QPTL2NTGBW, ExtendedGPVWPlusTranslators.QPTL2LOSNBW, ExtendedGPVWPlusTranslators.QPTL2NBW, ExtendedGPVWTranslators.QPTL2LOSNBW, ExtendedGPVWTranslators.QPTL2NBW, ExtendedLTL2AUTPlusTranslators.QPTL2LOSNBW, ExtendedLTL2AUTPlusTranslators.QPTL2NBW, ExtendedLTL2AUTTranslators.QPTL2LOSNBW, ExtendedLTL2AUTTranslators.QPTL2NBW, ExtendedLTL2BuchiTranslators.QPTL2NBW, ExtendedLTL2BuchiTranslators.QPTL2NTGBW, ExtendedModellaTranslators.QPTL2LOSNBW, ExtendedModellaTranslators.QPTL2NBW, IncTableauPlusTranslators.QPTL2LOSNBW, IncTableauPlusTranslators.QPTL2NBW, IncTableauTranslators.QPTL2LOSNBW, IncTableauTranslators.QPTL2NBW, LTL2BATranslators.QPTL2NBW, LTL2BuchiTranslators.QPTL2NBW, LTL2BuchiTranslators.QPTL2NTGBW, ModellaTranslators.QPTL2LOSNBW, ModellaTranslators.QPTL2NBW, PLTL2BATranslators.QPTL2NBW, TableauTranslators.QPTL2LOSNBW, TableauTranslators.QPTL2NBW, TemporalTesterTranslators.QPTL2LOSNBW, TemporalTesterTranslators.QPTL2NBW

public class QPTL2NBWByLTL2NBW
extends AbstractTranslator<QPTL,​FSA>
This is a translator from a QPTL formula that can be converted to prenex normal form to an NBW by utilizing a LTL translator. This translator first converts the QPTL formula to prenex normal form, then translate the un-quantified sub-formula by the LTL translator, eliminates the quantification by projection and complementation, and finally simplifies the projected NBW if the simplification option is on. If the divide-and-conquer option in the preference is on, this translator will translate sub-formulae connected by boolean operators and then compose the results by automata operations.
Author:
Ming-Hsien Tsai
  • Constructor Details

    • QPTL2NBWByLTL2NBW

      public QPTL2NBWByLTL2NBW​(Translator<LTL,​FSA> t)
      Constructs this translator to translate a QPTL formula to an equivalent NBW with the help of a translator from LTL to NBW.
      Parameters:
      t - a translator from a LTL formula to an equivalent NBW
  • 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 f) throws UnsupportedException
      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 - 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