![]() |
Connect++ 0.7.0
A fast, readable connection prover for first-order logic.
|
Class for representing nodes in a tableau proof. More...
#include <TableauProof.hpp>

Public Member Functions | |
| TableauProofNode () | |
| Basic constructor. | |
| TableauProofNode (Literal &_lit) | |
| Nearly all the work here is done by constructors. | |
| TableauProofNode (Clause &_c) | |
| Nearly all the work here is done by constructors. | |
| TableauProofNode (Clause &_c, Literal &_lit) | |
| Nearly all the work here is done by constructors. | |
| ~TableauProofNode () | |
| Usual destructor for this sort of thing. Remember to delete what needs deleting. | |
| string | path_to_tptp_string () |
| string | parent_to_tptp_string () |
| string | make_path_string () |
| string | lemmas_to_string () |
Private Attributes | |
| TableauNodeType | type |
| TableauProofNode * | parent |
| ClauseNum | t |
| A node in the tableau is identified by ‘t : l’. | |
| ClauseNum | t_child |
| Nodes maintain the t value for children. | |
| LitNum | l |
| A node in the tableau is identified by ‘t : l’. | |
| LitNum | l_child |
| Nodes maintain the l value for children. | |
| Clause | c_output |
| A node is associated with a clause. | |
| Clause | c_remaining |
| Starts equal to c. At each step in constructing the tableau a single literal is dealt with in a child. This keeps track of the remaining clause. | |
| size_t | matrix_id |
| Some nodes need to produce output referring to a clause in the matrix. | |
| Literal | lit |
| Literal associated with the node. | |
| vector< PathPair > | p |
| Paths are stored both as collections of literals and collections of t:l pairs. Both are needed for construction and producing output. | |
| vector< Literal > | path |
| Paths are stored both as collections of literals and collections of t:l pairs. Both are needed for construction and producing output. | |
| Substitution | sub |
| Substitution associated with reduction, extension or lemma. | |
| size_t | depth |
| Where are we in the tree? Used for backtracking. | |
| bool | needs_lemma_link |
| Used in producing LaTex output to indicate that a link has to be added. | |
| bool | needs_reduction_link |
| Used in producing LaTex output to indicate that a link has to be added. | |
| PathPair | reduction_node |
| Which node is associated with this one? | |
| size_t | lemma_reduction_node |
| Which node is associated with this one? | |
| vector< size_t > | lemma_list |
| Lemma lists are kept as both numbers and pointer to other nodes. Both are needed. | |
| vector< TableauProofNode * > | lemma_list_p |
| TableauProofNode * | lemma |
| Lemma associated with a reduction or extension. | |
| size_t | lemma_number |
| Numerical identifier for a lemma. | |
| bool | lemma_is_used |
| Used in producing LaTeX output so that only used lemmas are displayed. | |
| vector< TableauProofNode * > | children |
| Children of this node. | |
Friends | |
| class | TableauProof |
Class for representing nodes in a tableau proof.
See the documentation for TableauProof for details.
Definition at line 53 of file TableauProof.hpp.
|
inline |
Basic constructor.
Definition at line 159 of file TableauProof.hpp.
|
inline |
Nearly all the work here is done by constructors.
Definition at line 188 of file TableauProof.hpp.
|
inline |
Nearly all the work here is done by constructors.
Definition at line 196 of file TableauProof.hpp.
Nearly all the work here is done by constructors.
Definition at line 205 of file TableauProof.hpp.
|
inline |
Usual destructor for this sort of thing. Remember to delete what needs deleting.
Definition at line 216 of file TableauProof.hpp.
| string TableauProofNode::lemmas_to_string | ( | ) |
Definition at line 72 of file TableauProof.cpp.
| string TableauProofNode::make_path_string | ( | ) |
Definition at line 58 of file TableauProof.cpp.
| string TableauProofNode::parent_to_tptp_string | ( | ) |
Definition at line 49 of file TableauProof.cpp.
| string TableauProofNode::path_to_tptp_string | ( | ) |
Definition at line 30 of file TableauProof.cpp.
|
friend |
Definition at line 226 of file TableauProof.hpp.
|
private |
A node is associated with a clause.
Definition at line 78 of file TableauProof.hpp.
|
private |
Starts equal to c. At each step in constructing the tableau a single literal is dealt with in a child. This keeps track of the remaining clause.
Definition at line 84 of file TableauProof.hpp.
|
private |
Children of this node.
Definition at line 154 of file TableauProof.hpp.
|
private |
Where are we in the tree? Used for backtracking.
Definition at line 113 of file TableauProof.hpp.
|
private |
A node in the tableau is identified by ‘t : l’.
Definition at line 70 of file TableauProof.hpp.
|
private |
Nodes maintain the l value for children.
Definition at line 74 of file TableauProof.hpp.
|
private |
Lemma associated with a reduction or extension.
Definition at line 141 of file TableauProof.hpp.
|
private |
Used in producing LaTeX output so that only used lemmas are displayed.
Definition at line 150 of file TableauProof.hpp.
|
private |
Lemma lists are kept as both numbers and pointer to other nodes. Both are needed.
Definition at line 136 of file TableauProof.hpp.
|
private |
Definition at line 137 of file TableauProof.hpp.
|
private |
Numerical identifier for a lemma.
Definition at line 145 of file TableauProof.hpp.
|
private |
Which node is associated with this one?
Definition at line 131 of file TableauProof.hpp.
|
private |
Literal associated with the node.
Definition at line 93 of file TableauProof.hpp.
|
private |
Some nodes need to produce output referring to a clause in the matrix.
Definition at line 89 of file TableauProof.hpp.
|
private |
Used in producing LaTex output to indicate that a link has to be added.
Definition at line 118 of file TableauProof.hpp.
|
private |
Used in producing LaTex output to indicate that a link has to be added.
Definition at line 123 of file TableauProof.hpp.
|
private |
Paths are stored both as collections of literals and collections of t:l pairs. Both are needed for construction and producing output.
Definition at line 99 of file TableauProof.hpp.
|
private |
Definition at line 56 of file TableauProof.hpp.
|
private |
Paths are stored both as collections of literals and collections of t:l pairs. Both are needed for construction and producing output.
Definition at line 105 of file TableauProof.hpp.
|
private |
Which node is associated with this one?
Definition at line 127 of file TableauProof.hpp.
|
private |
Substitution associated with reduction, extension or lemma.
Definition at line 109 of file TableauProof.hpp.
|
private |
A node in the tableau is identified by ‘t : l’.
Definition at line 61 of file TableauProof.hpp.
|
private |
Nodes maintain the t value for children.
Definition at line 65 of file TableauProof.hpp.
|
private |
Definition at line 55 of file TableauProof.hpp.