PPL Java Language Interface 2.0
parma_polyhedra_library.Linear_Expression_Times Class Reference

The product of a linear expression and a coefficient. More...

Inheritance diagram for parma_polyhedra_library.Linear_Expression_Times:

Public Member Functions

 Linear_Expression_Times (Coefficient c, Variable v)
 Builds an object cloning the input arguments.
 Linear_Expression_Times (Coefficient c, Linear_Expression l)
 Builds an object cloning the input arguments.
 Linear_Expression_Times (Linear_Expression l, Coefficient c)
 Builds an object cloning the input arguments.
Coefficient coefficient ()
 Returns the coefficient of this.
Linear_Expression linear_expression ()
 Returns the linear expression subobject of this.
Linear_Expression_Times clone ()
 Builds a copy of this.
Public Member Functions inherited from parma_polyhedra_library.Linear_Expression
Linear_Expression sum (Linear_Expression y)
 Returns the sum of this and y.
Linear_Expression subtract (Linear_Expression y)
 Returns the difference of this and y.
Linear_Expression times (Coefficient c)
 Returns the product of this times c.
Linear_Expression unary_minus ()
 Returns the negation of this.
native String ascii_dump ()
 Returns an ascii formatted internal representation of this.
native String toString ()
 Returns a string representation of this.
native boolean is_zero ()
 Returns true if and only if this is $0$.
native boolean all_homogeneous_terms_are_zero ()
 Returns true if and only if all the homogeneous terms of this are $0$.

Protected Attributes

Coefficient coeff
 The value of the coefficient.
Linear_Expression lin_expr
 The value of the inner linear expression.

Detailed Description

The product of a linear expression and a coefficient.

Constructor & Destructor Documentation

◆ Linear_Expression_Times() [1/3]

parma_polyhedra_library.Linear_Expression_Times.Linear_Expression_Times ( Coefficient c,
Variable v )
inline

Builds an object cloning the input arguments.

Parameters
cThe source coefficient used to construct the object.
vThe value to inspect or modify.

◆ Linear_Expression_Times() [2/3]

parma_polyhedra_library.Linear_Expression_Times.Linear_Expression_Times ( Coefficient c,
Linear_Expression l )
inline

Builds an object cloning the input arguments.

Parameters
cThe source coefficient used to construct the object.
lThe source integer or linear expression to copy.

◆ Linear_Expression_Times() [3/3]

parma_polyhedra_library.Linear_Expression_Times.Linear_Expression_Times ( Linear_Expression l,
Coefficient c )
inline

Builds an object cloning the input arguments.

Parameters
lThe source integer or linear expression to copy.
cThe source coefficient used to construct the object.

Member Function Documentation

◆ coefficient()

Coefficient parma_polyhedra_library.Linear_Expression_Times.coefficient ( )
inline

Returns the coefficient of this.

Returns
The coefficient of this.

◆ linear_expression()

Linear_Expression parma_polyhedra_library.Linear_Expression_Times.linear_expression ( )
inline

Returns the linear expression subobject of this.

Returns
The linear expression subobject of this.

◆ clone()

Linear_Expression_Times parma_polyhedra_library.Linear_Expression_Times.clone ( )
inline

Builds a copy of this.

Returns
A newly allocated copy of this node and its owned subtree; ownership passes to the caller.

Reimplemented from parma_polyhedra_library.Linear_Expression.


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