PPL Configured Java Language Interface
1.2
|
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 0 otherwise. More... | |
native PIP_Decision_Node | as_decision () |
Returns the decision node if this is a decision node, and 0 otherwise. More... | |
native boolean | OK () |
Returns true if the pip tree is well formed, i.e., if it satisfies all its implementation invariants; returns 0 and perhaps makes some noise if broken. Useful for debugging purposes. More... | |
native long | number_of_artificials () |
Returns the number of artificial parameters in the PIP_Tree_Node. More... | |
native Artificial_Parameter_Sequence | artificials () |
Returns the sequence of (Java) artificial parameters in the PIP_Tree_Node. More... | |
native Constraint_System | constraints () |
Returns the system of parameter constraints controlling the PIP_Tree_Node. More... | |
native String | toString () |
Returns a string representation of this . More... | |
Additional Inherited Members | |
![]() | |
PPL_Object () | |
Builds an object that points to `null'. More... | |
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:
Definition at line 34 of file PIP_Tree_Node.java.
native Artificial_Parameter_Sequence parma_polyhedra_library.PIP_Tree_Node.artificials | ( | ) |
Returns the sequence of (Java) artificial parameters in the PIP_Tree_Node.
native PIP_Decision_Node parma_polyhedra_library.PIP_Tree_Node.as_decision | ( | ) |
Returns the decision node if this
is a decision node, and 0 otherwise.
native PIP_Solution_Node parma_polyhedra_library.PIP_Tree_Node.as_solution | ( | ) |
Returns the solution node if this
is a solution node, and 0 otherwise.
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 long parma_polyhedra_library.PIP_Tree_Node.number_of_artificials | ( | ) |
Returns the number of artificial parameters in the PIP_Tree_Node.
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 0 and perhaps makes some noise if broken. Useful for debugging purposes.
native String parma_polyhedra_library.PIP_Tree_Node.toString | ( | ) |
Returns a string representation of this
.