Class GroundGenerator
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.generator.AbstractCandidateGenerator
org.tweetyproject.arg.adf.reasoner.sat.generator.GroundGenerator
- All Implemented Interfaces:
AutoCloseable
,CandidateGenerator
GroundGenerator class
- Author:
- Mathias Hofer
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(SatSolverState state) void
prepare
(SatSolverState state) static CandidateGenerator
restricted
(AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation prefix, Supplier<SatSolverState> stateSupplier) The resultingCandidateGenerator
only computes the ground interpretation if it extends the given prefix.static CandidateGenerator
unrestricted
(AbstractDialecticalFramework adf, PropositionalMapping mapping, Supplier<SatSolverState> stateSupplier) The resultingCandidateGenerator
computes the ground interpretation.Methods inherited from class org.tweetyproject.arg.adf.reasoner.sat.generator.AbstractCandidateGenerator
close, generate, update
-
Method Details
-
restricted
public static CandidateGenerator restricted(AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation prefix, Supplier<SatSolverState> stateSupplier) The resultingCandidateGenerator
only computes the ground interpretation if it extends the given prefix.- Parameters:
adf
- adfmapping
- mappingprefix
- the fixed prefixstateSupplier
- Supplier- Returns:
- CandidateGenerator
-
unrestricted
public static CandidateGenerator unrestricted(AbstractDialecticalFramework adf, PropositionalMapping mapping, Supplier<SatSolverState> stateSupplier) The resultingCandidateGenerator
computes the ground interpretation.- Parameters:
adf
- adfmapping
- mappingstateSupplier
- Supplier- Returns:
- CandidateGenerator
-
prepare
-
generate
-