Class FixPartialSatEncoding
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.encodings.FixPartialSatEncoding
- All Implemented Interfaces:
RelativeSatEncoding
Fixes the already assigned true/false values.
- Author:
- Mathias Hofer
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new encoding for fixing partial interpretations. -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(Consumer<Clause> consumer, Interpretation interpretation) Encodes clauses relative to the given interpretation.
-
Constructor Details
-
FixPartialSatEncoding
Creates a new encoding for fixing partial interpretations.- Parameters:
mapping- mapping
-
-
Method Details
-
encode
Description copied from interface:RelativeSatEncodingEncodes clauses relative to the given interpretation.- Specified by:
encodein interfaceRelativeSatEncoding- Parameters:
consumer- the consumer that receives generated clausesinterpretation- the reference interpretation
-