|
PPL C Language Interface 2.0
|
Types and functions for PIP solution nodes. More...
#include <ppl_c_header.h>
Related Symbols | |
(Note that these are not member symbols.) | |
Querying/Setting Control Parameters | |
| int | ppl_PIP_Solution_Node_OK (ppl_const_PIP_Solution_Node_t pip_sol) |
Returns a positive integer if pip_sol is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if pip_sol is broken. Useful for debugging purposes. | |
| int | ppl_PIP_Solution_Node_get_parametric_values (ppl_const_PIP_Solution_Node_t pip_sol, ppl_dimension_type var, ppl_const_Linear_Expression_t *le) |
Writes to le a const pointer to the parametric expression of the values of variable var in solution node pip_sol. | |
Input/Output Functions | |
| int | ppl_io_print_PIP_Solution_Node (ppl_const_PIP_Solution_Node_t x) |
Prints x to stdout. | |
| int | ppl_io_fprint_PIP_Solution_Node (FILE *stream, ppl_const_PIP_Solution_Node_t x) |
Prints x to the given output stream. | |
| int | ppl_io_asprint_PIP_Solution_Node (char **strp, ppl_const_PIP_Solution_Node_t x) |
Prints x to a malloc-allocated string, a pointer to which is returned via strp. | |
| int | ppl_PIP_Solution_Node_ascii_dump (ppl_const_PIP_Solution_Node_t x, FILE *stream) |
Dumps an ascii representation of x on stream. | |
| int | ppl_PIP_Solution_Node_ascii_load (ppl_PIP_Solution_Node_t x, FILE *stream) |
Loads an ascii representation of x from stream. | |
Types and functions for PIP solution nodes.
The types and functions for solution nodes provide an interface towards PIP_Solution_Node.
|
Returns a positive integer if pip_sol is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if pip_sol is broken. Useful for debugging purposes.
| pip_sol | The borrowed handle to the input object. |
pip_sol is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if pip_sol is broken. Useful for debugging purposes.
|
Writes to le a const pointer to the parametric expression of the values of variable var in solution node pip_sol.
The linear expression assigned to le will only refer to (problem or artificial) parameters.
| pip_sol | The solution tree node. |
| var | The variable which is queried about. |
| le | The returned expression for variable var. |
var is dimension-incompatible with *this or if var is a problem parameter.The non-null result is borrowed from pip_sol and ultimately from its PIP problem, and must not be modified or deleted. Other read-only tree queries, including parametric-value queries for other variables, do not invalidate it; see Borrowed PIP Problem Data and Solution Trees. On failure, *le is unchanged.
|
Prints x to stdout.
| x | The borrowed handle to the input object. |
|
Prints x to the given output stream.
| stream | The file stream to which output is written. |
| x | The borrowed handle to the input object. |
|
Prints x to a malloc-allocated string, a pointer to which is returned via strp.
| strp | Receives the newly malloc-allocated string; the caller must release it with free(). |
| x | The borrowed handle to the input object. |
x to a malloc-allocated string, a pointer to which is returned via strp.
|
Dumps an ascii representation of x on stream.
| x | The borrowed handle to the input object. |
| stream | The file stream to which output is written. |
|
Loads an ascii representation of x from stream.
| x | The solution node operand. |
| stream | The file stream from which input is read. |