Class LargerInterpretationSatEncoding

java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.encodings.LargerInterpretationSatEncoding
All Implemented Interfaces:
RelativeSatEncoding

public class LargerInterpretationSatEncoding extends Object implements RelativeSatEncoding
Fixes the two valued assignments and tries to find a two valued assignment for at least one of the undecided ones.
Author:
Mathias Hofer
  • Constructor Details

    • LargerInterpretationSatEncoding

      public LargerInterpretationSatEncoding(PropositionalMapping mapping)
      Parameters:
      mapping - mapping
  • Method Details

    • encode

      public void encode(Consumer<Clause> consumer, Interpretation interpretation)
      Description copied from interface: RelativeSatEncoding
      Encodes clauses relative to the given interpretation.
      Specified by:
      encode in interface RelativeSatEncoding
      Parameters:
      consumer - the consumer that receives generated clauses
      interpretation - the reference interpretation