24 #ifndef PPL_PIP_Tree_inlines_hh
25 #define PPL_PIP_Tree_inlines_hh 1
31 : s(), t(), denom(1) {
37 : s(y.s), t(y.t), denom(y.denom) {
50 inline Coefficient_traits::const_reference
75 inline PIP_Tree_Node::Artificial_Parameter_Sequence::const_iterator
80 inline PIP_Tree_Node::Artificial_Parameter_Sequence::const_iterator
93 return b ? true_child : false_child;
99 return b ? true_child : false_child;
115 inline Coefficient_traits::const_reference
136 #endif // !defined(PPL_PIP_Tree_inlines_hh)
Artificial_Parameter_Sequence::const_iterator art_parameter_begin() const
Returns a const_iterator to the beginning of local artificial parameters.
const PIP_Problem * owner_
A pointer to the PIP_Problem object owning this node.
Coefficient denom
The normalized (i.e., positive) denominator.
Artificial parameters in PIP solution trees.
void swap(CO_Tree &x, CO_Tree &y)
size_t dimension_type
An unsigned integral type for representing space dimensions.
const PIP_Decision_Node * parent() const
Returns a pointer to this node's parent.
const PIP_Problem * get_owner() const
Returns a pointer to the PIP_Problem owning object.
A Parametric Integer (linear) Programming problem.
Artificial_Parameter_Sequence::const_iterator art_parameter_end() const
Returns a const_iterator to the end of local artificial parameters.
A tree node representing a decision in the space of solutions.
dimension_type art_parameter_count() const
Returns the number of local artificial parameters.
bool OK() const
Returns true if and only if *this is well formed.
Tableau()
Default constructor.
Coefficient_traits::const_reference denominator() const
Returns the value of the denominator.
bool OK() const
Returns true if and only if the parameter is well-formed.
const Constraint_System & constraints() const
Returns the system of parameter constraints controlling *this.
void set_parent(const PIP_Decision_Node *p)
Set this node's parent to *p.
Coefficient_traits::const_reference denominator() const
Returns the normalized (i.e., positive) denominator.
bool is_integer() const
Tests whether the matrix is integer, i.e., the denominator is 1.
const PIP_Tree_Node * child_node(bool b) const
Returns a const pointer to the b (true or false) branch of *this.
const PIP_Decision_Node * parent_
A pointer to the parent of *this, null if *this is the root.
Artificial_Parameter()
Default constructor: builds a zero artificial parameter.
The entire library is confined to this namespace.
Artificial_Parameter_Sequence artificial_parameters
The local sequence of expressions for local artificial parameters.
void swap(PIP_Tree_Node::Artificial_Parameter &x, PIP_Tree_Node::Artificial_Parameter &y)
void m_swap(Artificial_Parameter &y)
Swaps *this with y.
Constraint_System constraints_
The local system of parameter constraints.
A node of the PIP solution tree.
void m_swap(Linear_Expression &y)
Swaps *this with y.
The type for parametric simplex tableau.