Class NaiveVerifier
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.verifier.NaiveVerifier
- All Implemented Interfaces:
AutoCloseable
,Verifier
Verifies if a given interpretation is conflict-free and maximal, i.e. no further undecided arguments in the interpretation can be decided.
- Author:
- Mathias
-
Constructor Summary
ConstructorDescriptionNaiveVerifier
(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
prepare()
Performs initializations and must be called before the firstVerifier.verify(Interpretation)
call.boolean
verify
(Interpretation interpretation)
-
Constructor Details
-
NaiveVerifier
public NaiveVerifier(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping) - Parameters:
stateSupplier
- stateSupplieradf
- adfmapping
- mapping
-
-
Method Details
-
prepare
public void prepare()Description copied from interface:Verifier
Performs initializations and must be called before the firstVerifier.verify(Interpretation)
call. -
verify
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceVerifier
-