Package io.github.cvc5
Class AbstractPlugin
java.lang.Object
io.github.cvc5.AbstractPlugin
A cvc5 plugin abstract class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTerm[]
check()
Call to check, return vector of lemmas to add to the SAT solver.abstract String
getName()
Get the name of the plugin (for debugging).Get the associated term manager instancevoid
notifySatClause
(Term cl) Notify SAT clause, called when cl is a clause learned by the SAT solver.void
notifyTheoryLemma
(Term lem) Notify theory lemma, called when lem is a theory lemma sent by a theory solver.
-
Field Details
-
termManager
The associated term manager.
-
-
Constructor Details
-
AbstractPlugin
Create plugin instance.- Parameters:
tm
- The associated term manager.
-
-
Method Details
-
getTermManager
Get the associated term manager instance- Returns:
- The term manager.
-
check
Call to check, return vector of lemmas to add to the SAT solver. This method is called periodically, roughly at every SAT decision.- Returns:
- The vector of lemmas to add to the SAT solver.
-
notifySatClause
Notify SAT clause, called when cl is a clause learned by the SAT solver.- Parameters:
cl
- The learned clause.
-
notifyTheoryLemma
Notify theory lemma, called when lem is a theory lemma sent by a theory solver.- Parameters:
lem
- The theory lemma.
-
getName
Get the name of the plugin (for debugging).- Returns:
- The name of the plugin.
-