Class TseitinTransformer
java.lang.Object
org.tweetyproject.arg.adf.transform.TseitinTransformer
- All Implemented Interfaces:
 Collector<Literal,,Clause> Transformer<Pair<Literal,Collection<Clause>>> 
public final class TseitinTransformer
extends Object
implements Collector<Literal,Clause>, Transformer<Pair<Literal,Collection<Clause>>>  
- 
Method Summary
Modifier and TypeMethodDescriptioncollect(AcceptanceCondition acc, Consumer<Clause> clauses) Traverses through the givenAcceptanceConditionand calls the provided consumer on all the collected data.static TseitinTransformerofNegativePolarity(boolean optimize) static TseitinTransformerofNegativePolarity(Function<Argument, Literal> mapping, boolean optimize) static TseitinTransformerofPositivePolarity(boolean optimize) static TseitinTransformerofPositivePolarity(Function<Argument, Literal> mapping, boolean optimize) Transforms the given acceptance condition into another structure. 
- 
Method Details
- 
ofPositivePolarity
 - 
ofNegativePolarity
 - 
ofPositivePolarity
public static TseitinTransformer ofPositivePolarity(Function<Argument, Literal> mapping, boolean optimize)  - 
ofNegativePolarity
public static TseitinTransformer ofNegativePolarity(Function<Argument, Literal> mapping, boolean optimize)  - 
collect
Description copied from interface:CollectorTraverses through the givenAcceptanceConditionand calls the provided consumer on all the collected data. - 
transform
Description copied from interface:TransformerTransforms the given acceptance condition into another structure.- Specified by:
 transformin interfaceTransformer<Pair<Literal,Collection<Clause>>> - Parameters:
 acc- the acceptance condition- Returns:
 - the transformed result
 
 
 -