public abstract class AbstractPlugin
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TermManager |
termManager |
Constructor and Description |
---|
AbstractPlugin(TermManager tm)
Create plugin instance.
|
Modifier and Type | Method and Description |
---|---|
Term[] |
check()
Call to check, return vector of lemmas to add to the SAT solver.
|
abstract java.lang.String |
getName()
Get the name of the plugin (for debugging).
|
TermManager |
getTermManager()
Get the associated term manager instance
|
void |
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.
|
protected final TermManager termManager
public AbstractPlugin(TermManager tm)
tm
- The associated term manager.public TermManager getTermManager()
public Term[] check()
public void notifySatClause(Term cl)
cl
- The learned clause.public void notifyTheoryLemma(Term lem)
lem
- The theory lemma.public abstract java.lang.String getName()