|
PPL Java Language Interface 2.0
|
A node of the PIP solution tree. More...

Public Member Functions | |
| native PIP_Solution_Node | as_solution () |
Returns the solution node if this is a solution node, and null otherwise. | |
| native PIP_Decision_Node | as_decision () |
Returns the decision node if this is a decision node, and null otherwise. | |
| native boolean | OK () |
| Returns true if the pip tree is well formed, i.e., if it satisfies all its implementation invariants; returns false and perhaps makes some noise if broken. Useful for debugging purposes. | |
| native long | number_of_artificials () |
| Returns the number of artificial parameters in the PIP_Tree_Node. | |
| native Artificial_Parameter_Sequence | artificials () |
| Returns the sequence of (Java) artificial parameters in the PIP_Tree_Node. | |
| native Constraint_System | constraints () |
| Returns the system of parameter constraints controlling the PIP_Tree_Node. | |
| native String | toString () |
Returns a string representation of this. | |
Additional Inherited Members | |
| Protected Member Functions inherited from parma_polyhedra_library.PPL_Object | |
| PPL_Object () | |
| Builds an object that points to `null'. | |
A node of the PIP solution tree.
This is the base class for the nodes of the binary trees representing the solutions of PIP problems. From this one, two classes are derived:
Each returned handle retains its owning PIP_Problem. Child handles and the additional wrappers returned by as_solution() and as_decision() independently retain the same owner and validity token; they do not retain parent wrappers. They never delete native tree nodes. Updating or explicitly freeing the problem invalidates every existing handle, and all subsequent tree operations throw Invalid_Argument_Exception before accessing native storage. An unbound, explicitly constructed wrapper is not a usable tree handle. On an infeasible solution handle, as_solution() and as_decision() return null; other operations throw Invalid_Argument_Exception.
| native PIP_Solution_Node parma_polyhedra_library.PIP_Tree_Node.as_solution | ( | ) |
Returns the solution node if this is a solution node, and null otherwise.
this is a solution node, and null otherwise. | native PIP_Decision_Node parma_polyhedra_library.PIP_Tree_Node.as_decision | ( | ) |
Returns the decision node if this is a decision node, and null otherwise.
this is a decision node, and null otherwise. | native boolean parma_polyhedra_library.PIP_Tree_Node.OK | ( | ) |
Returns true if the pip tree is well formed, i.e., if it satisfies all its implementation invariants; returns false and perhaps makes some noise if broken. Useful for debugging purposes.
| native long parma_polyhedra_library.PIP_Tree_Node.number_of_artificials | ( | ) |
Returns the number of artificial parameters in the PIP_Tree_Node.
| native Artificial_Parameter_Sequence parma_polyhedra_library.PIP_Tree_Node.artificials | ( | ) |
Returns the sequence of (Java) artificial parameters in the PIP_Tree_Node.
| native Constraint_System parma_polyhedra_library.PIP_Tree_Node.constraints | ( | ) |
Returns the system of parameter constraints controlling the PIP_Tree_Node.
The indices in the constraints are the same as the original variables and parameters. Coefficients in indices corresponding to variables always are zero.
| native String parma_polyhedra_library.PIP_Tree_Node.toString | ( | ) |
Returns a string representation of this.
this.