PPL Java Language Interface 2.0
parma_polyhedra_library.Artificial_Parameter Class Reference

Public Member Functions

 Artificial_Parameter (Linear_Expression e, Coefficient d)
 Builds an artificial parameter from a linear expression and a denominator.
Linear_Expression linear_expression ()
 Returns the linear expression in artificial parameter this.
Coefficient denominator ()
 Returns the denominator in artificial parameter this.
native String ascii_dump ()
 Returns an ascii formatted internal representation of this.
native String toString ()
 Returns a string representation of this.

Detailed Description

An Artificial_Parameter object represents the result of the integer division of a Linear_Expression (on the other parameters, including the previously-defined artificials) by an integer denominator (a Coefficient object). The dimensions of the artificial parameters (if any) in a tree node have consecutive indices starting from dim, where the value of dim is computed as follows:

  • for the tree root node, dim is the space dimension of the PIP_Problem;
  • for any other node of the tree, it is recursively obtained by adding the value of dim computed for the parent node to the number of artificial parameters defined in the parent node.
    Since the numbering of dimensions for artificial parameters follows the rule above, the addition of new problem variables and/or new problem parameters to an already solved PIP_Problem object (as done when incrementally solving a problem) will result in the systematic renumbering of all the existing artificial parameters.

Constructor & Destructor Documentation

◆ Artificial_Parameter()

parma_polyhedra_library.Artificial_Parameter.Artificial_Parameter ( Linear_Expression e,
Coefficient d )
inline

Builds an artificial parameter from a linear expression and a denominator.

Parameters
eThe source linear expression used to construct the object.
dThe divisor interpreting the expression coefficients as rational coordinates.

Member Function Documentation

◆ linear_expression()

Linear_Expression parma_polyhedra_library.Artificial_Parameter.linear_expression ( )
inline

Returns the linear expression in artificial parameter this.

Returns
The linear expression in artificial parameter this.

◆ denominator()

Coefficient parma_polyhedra_library.Artificial_Parameter.denominator ( )
inline

Returns the denominator in artificial parameter this.

Returns
The denominator in artificial parameter this.

◆ ascii_dump()

native String parma_polyhedra_library.Artificial_Parameter.ascii_dump ( )

Returns an ascii formatted internal representation of this.

Returns
An ascii formatted internal representation of this.

◆ toString()

native String parma_polyhedra_library.Artificial_Parameter.toString ( )

Returns a string representation of this.

Returns
A string representation of this.

The documentation for this class was generated from the following file:
  • Artificial_Parameter.java