Types and functions for generic PIP tree nodes. More...
#include <ppl_c.h>
Related Functions | |
(Note that these are not member functions.) | |
| int | ppl_PIP_Tree_Node_as_solution (ppl_const_PIP_Tree_Node_t spip_tree, ppl_const_PIP_Solution_Node_t *dpip_tree) |
Writes to dpip_tree the solution node if spip_tree is a solution node, and 0 otherwise. | |
| int | ppl_PIP_Tree_Node_as_decision (ppl_const_PIP_Tree_Node_t spip_tree, ppl_const_PIP_Decision_Node_t *dpip_tree) |
Writes to dpip_tree the decision node if spip_tree is a decision node, and 0 otherwise. | |
| int | ppl_PIP_Tree_Node_get_constraints (ppl_const_PIP_Tree_Node_t pip_tree, ppl_const_Constraint_System_t *pcs) |
Writes to pcs the local system of parameter constraints at the pip tree node pip_tree. | |
| int | ppl_PIP_Tree_Node_OK (ppl_const_PIP_Tree_Node_t pip) |
Returns a positive integer if pip_tree is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if pip_tree is broken. Useful for debugging purposes. | |
| int | ppl_PIP_Tree_Node_number_of_artificials (ppl_const_PIP_Tree_Node_t pip_tree, ppl_dimension_type *m) |
Writes to m the number of elements in the artificial parameter sequence in the pip tree node pip_tree. | |
| int | ppl_PIP_Tree_Node_begin (ppl_const_PIP_Tree_Node_t pip_tree, ppl_Artificial_Parameter_Sequence_const_iterator_t pit) |
Assigns to pit a const iterator "pointing" to the beginning of the artificial parameter sequence in the pip tree node pip_tree. | |
| int | ppl_PIP_Tree_Node_end (ppl_const_PIP_Tree_Node_t pip_tree, ppl_Artificial_Parameter_Sequence_const_iterator_t pit) |
Assigns to pit a const iterator "pointing" to the end of the artificial parameter sequence in the pip tree node pip_tree. | |
Types and functions for generic PIP tree nodes.
The types and functions for tree nodes provide an interface towards PIP_Tree_Node.
| int ppl_PIP_Tree_Node_as_decision | ( | ppl_const_PIP_Tree_Node_t | spip_tree, | |
| ppl_const_PIP_Decision_Node_t * | dpip_tree | |||
| ) | [related] |
Writes to dpip_tree the decision node if spip_tree is a decision node, and 0 otherwise.
Definition at line 2389 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_as_solution | ( | ppl_const_PIP_Tree_Node_t | spip_tree, | |
| ppl_const_PIP_Solution_Node_t * | dpip_tree | |||
| ) | [related] |
Writes to dpip_tree the solution node if spip_tree is a solution node, and 0 otherwise.
Definition at line 2381 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_begin | ( | ppl_const_PIP_Tree_Node_t | pip_tree, | |
| ppl_Artificial_Parameter_Sequence_const_iterator_t | pit | |||
| ) | [related] |
Assigns to pit a const iterator "pointing" to the beginning of the artificial parameter sequence in the pip tree node pip_tree.
Definition at line 2423 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_end | ( | ppl_const_PIP_Tree_Node_t | pip_tree, | |
| ppl_Artificial_Parameter_Sequence_const_iterator_t | pit | |||
| ) | [related] |
Assigns to pit a const iterator "pointing" to the end of the artificial parameter sequence in the pip tree node pip_tree.
Definition at line 2434 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_get_constraints | ( | ppl_const_PIP_Tree_Node_t | pip_tree, | |
| ppl_const_Constraint_System_t * | pcs | |||
| ) | [related] |
Writes to pcs the local system of parameter constraints at the pip tree node pip_tree.
Definition at line 2397 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_number_of_artificials | ( | ppl_const_PIP_Tree_Node_t | pip_tree, | |
| ppl_dimension_type * | m | |||
| ) | [related] |
Writes to m the number of elements in the artificial parameter sequence in the pip tree node pip_tree.
Definition at line 2413 of file ppl_c_implementation_common.cc.
| int ppl_PIP_Tree_Node_OK | ( | ppl_const_PIP_Tree_Node_t | pip | ) | [related] |
Returns a positive integer if pip_tree is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if pip_tree is broken. Useful for debugging purposes.
Definition at line 2407 of file ppl_c_implementation_common.cc.
1.6.3