PPL C Language Interface  1.0
ppl_PIP_Tree_Node_tag Interface Reference

Types and functions for generic PIP tree nodes. More...

#include <ppl_c_header.h>

List of all members.

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.
Input/Output Functions
int ppl_io_print_PIP_Tree_Node (ppl_const_PIP_Tree_Node_t x)
 Prints x to stdout.
int ppl_io_fprint_PIP_Tree_Node (FILE *stream, ppl_const_PIP_Tree_Node_t x)
 Prints x to the given output stream.
int ppl_io_asprint_PIP_Tree_Node (char **strp, ppl_const_PIP_Tree_Node_t x)
 Prints x to a malloc-allocated string, a pointer to which is returned via strp.
int ppl_PIP_Tree_Node_ascii_dump (ppl_const_PIP_Tree_Node_t x, FILE *stream)
 Dumps an ascii representation of x on stream.
int ppl_PIP_Tree_Node_ascii_load (ppl_PIP_Tree_Node_t x, FILE *stream)
 Loads an ascii representation of x from stream.

Detailed Description

Types and functions for generic PIP tree nodes.

The types and functions for tree nodes provide an interface towards PIP_Tree_Node.


The documentation for this interface was generated from the following file: