PPL Java Language Interface 2.0
parma_polyhedra_library.Linear_Expression_Difference Class Reference

The difference of two linear expressions. More...

Inheritance diagram for parma_polyhedra_library.Linear_Expression_Difference:

Public Member Functions

 Linear_Expression_Difference (Linear_Expression x, Linear_Expression y)
 Builds an object that represents the difference of the copy x and y.
Linear_Expression left_hand_side ()
 Returns the left hand side of this.
Linear_Expression right_hand_side ()
 Returns the left hand side of this.
Linear_Expression_Difference 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

Linear_Expression lhs
 The value of the left hand side of this.
Linear_Expression rhs
 The value of the right hand side of this.

Detailed Description

The difference of two linear expressions.

Constructor & Destructor Documentation

◆ Linear_Expression_Difference()

parma_polyhedra_library.Linear_Expression_Difference.Linear_Expression_Difference ( Linear_Expression x,
Linear_Expression y )
inline

Builds an object that represents the difference of the copy x and y.

Parameters
xThe source value used to initialize this object.
yThe source value used to initialize this object.

Member Function Documentation

◆ left_hand_side()

Linear_Expression parma_polyhedra_library.Linear_Expression_Difference.left_hand_side ( )
inline

Returns the left hand side of this.

Returns
The left hand side of this.

◆ right_hand_side()

Linear_Expression parma_polyhedra_library.Linear_Expression_Difference.right_hand_side ( )
inline

Returns the left hand side of this.

Returns
The left hand side of this.

◆ clone()

Linear_Expression_Difference parma_polyhedra_library.Linear_Expression_Difference.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_Difference.java