Class GrounderStableVerifier
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.verifier.GrounderStableVerifier
- 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
ConstructorDescriptionGrounderStableVerifier(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
-
GrounderStableVerifier
public GrounderStableVerifier(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping)- Parameters:
stateSupplier
-adf
-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
-