Class StableVerifier
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.verifier.StableVerifier
- All Implemented Interfaces:
AutoCloseable
,Verifier
Verifies if a given interpretation is stable by comparing it with the ground
interpretation of its omega reduct.
- Author:
- Mathias Hofer
-
Constructor Summary
ConstructorDescriptionStableVerifier
(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 candidate)
-
Constructor Details
-
StableVerifier
public StableVerifier(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
-