Class SatEncodingContext


  • public class SatEncodingContext
    extends Object
    Stores the shared context which is needed to interconnect the sat encodings, e.g. shared propositional variables.
    Author:
    Mathias Hofer
    • Method Detail

      • getFalseRepresentation

        public net.sf.tweety.logics.pl.syntax.Proposition getFalseRepresentation​(Argument argument)
      • getTrueRepresentation

        public net.sf.tweety.logics.pl.syntax.Proposition getTrueRepresentation​(Argument argument)
      • getLinkRepresentation

        public net.sf.tweety.logics.pl.syntax.Proposition getLinkRepresentation​(Argument from,
                                                                                Argument to)
      • getLinkRepresentation

        public net.sf.tweety.logics.pl.syntax.Proposition getLinkRepresentation​(Link link)
      • interpretationFromWitness

        public Interpretation interpretationFromWitness​(net.sf.tweety.commons.Interpretation<net.sf.tweety.logics.pl.syntax.PlBeliefSet,​net.sf.tweety.logics.pl.syntax.PlFormula> witness)
        Constructs an ADF interpretation from the given SAT witness.
        Parameters:
        witness - the SAT witness
        Returns:
        the constructed ADF interpretation