Class RestrictedBipolarSatEncoding
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.encodings.RestrictedBipolarSatEncoding
- All Implemented Interfaces:
SatEncoding
This class implements a SAT encoding for restricted bipolar Abstract Dialectical Frameworks (ADF)
based on a given partial interpretation. It handles the relationships between arguments through
attacking and supporting links.
This encoding ensures that for any given argument, the relationships established by the links are respected according to the partial interpretation provided.
- Author:
- Mathias Hofer
-
Constructor Summary
ConstructorDescriptionRestrictedBipolarSatEncoding
(AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation partial) Constructs a new RestrictedBipolarSatEncoding for the given Abstract Dialectical Framework (ADF), propositional mapping, and partial interpretation. -
Method Summary
-
Constructor Details
-
RestrictedBipolarSatEncoding
public RestrictedBipolarSatEncoding(AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation partial) Constructs a new RestrictedBipolarSatEncoding for the given Abstract Dialectical Framework (ADF), propositional mapping, and partial interpretation.- Parameters:
adf
- the Abstract Dialectical Framework for which the SAT encoding is created, must not be nullmapping
- the propositional mapping for the arguments and links, must not be nullpartial
- the partial interpretation that restricts the SAT encoding, must not be null
-
-
Method Details
-
encode
Encodes the restricted bipolar Abstract Dialectical Framework (ADF) into a set of SAT clauses based on the given partial interpretation. The clauses represent the attacking and supporting links between arguments, ensuring that the semantics of these links are encoded correctly.- Specified by:
encode
in interfaceSatEncoding
- Parameters:
consumer
- the consumer that accepts the generated SAT clauses
-