Package org.sosy_lab.java_smt.basicimpl
Class AbstractProofDAG.AbstractProofNode
- java.lang.Object
-
- org.sosy_lab.java_smt.basicimpl.AbstractProofDAG.AbstractProofNode
-
- All Implemented Interfaces:
ProofNode
- Direct Known Subclasses:
ResolutionProofDAG.AxiomProofNode
,ResolutionProofDAG.ResolutionProofNode
- Enclosing class:
- AbstractProofDAG
public abstract static class AbstractProofDAG.AbstractProofNode extends Object implements ProofNode
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractProofNode(ProofRule rule, Formula formula)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(ProofNode child)
List<ProofNode>
getChildren()
Get the children of the proof node.Formula
getFormula()
Get the formula of the proof node.int
getId()
Get the id of the proof node.ProofRule
getRule()
boolean
isLeaf()
void
setFormula(Formula pFormula)
-
-
-
Field Detail
-
formula
protected @Nullable Formula formula
-
-
Method Detail
-
getFormula
public Formula getFormula()
Description copied from interface:ProofNode
Get the formula of the proof node.- Specified by:
getFormula
in interfaceProofNode
- Returns:
- The formula of the proof node.
-
getChildren
public List<ProofNode> getChildren()
Description copied from interface:ProofNode
Get the children of the proof node.- Specified by:
getChildren
in interfaceProofNode
-
getId
public int getId()
Description copied from interface:ProofNode
Get the id of the proof node.
-
setFormula
public void setFormula(Formula pFormula)
-
-