PPL Java Language Interface 2.0
parma_polyhedra_library.Grid_Generator Class Reference

A grid line, parameter or grid point. More...

Public Member Functions

Grid_Generator_Type type ()
 Returns the generator type.
Linear_Expression linear_expression ()
 Returns the linear expression in this.
Coefficient divisor ()
 If this is either a grid point or a parameter, returns its divisor.
native String ascii_dump ()
 Returns an ascii formatted internal representation of this.
native String toString ()
 Returns a string representation of this.

Static Public Member Functions

static Grid_Generator grid_line (Linear_Expression e)
 Returns the line of direction e.
static Grid_Generator parameter (Linear_Expression e, Coefficient d)
 Returns the parameter at e / d.
static Grid_Generator grid_point (Linear_Expression e, Coefficient d)
 Returns the point at e / d.

Detailed Description

A grid line, parameter or grid point.

An object of the class Grid_Generator is one of the following:

  • a grid_line;
  • a parameter;
  • a grid_point.

Member Function Documentation

◆ grid_line()

Grid_Generator parma_polyhedra_library.Grid_Generator.grid_line ( Linear_Expression e)
inlinestatic

Returns the line of direction e.

Exceptions
RuntimeErrorExceptionThrown if the homogeneous part of e represents the origin of the vector space.
Parameters
eThe linear expression operand.
Returns
The line of direction e.

◆ parameter()

Grid_Generator parma_polyhedra_library.Grid_Generator.parameter ( Linear_Expression e,
Coefficient d )
inlinestatic

Returns the parameter at e / d.

Exceptions
RuntimeErrorExceptionThrown if d is zero.
Parameters
eThe linear expression operand.
dThe divisor interpreting the expression coefficients as rational coordinates.
Returns
The parameter at e / d.

◆ grid_point()

Grid_Generator parma_polyhedra_library.Grid_Generator.grid_point ( Linear_Expression e,
Coefficient d )
inlinestatic

Returns the point at e / d.

Exceptions
RuntimeErrorExceptionThrown if d is zero.
Parameters
eThe linear expression operand.
dThe divisor interpreting the expression coefficients as rational coordinates.
Returns
The point at e / d.

◆ type()

Grid_Generator_Type parma_polyhedra_library.Grid_Generator.type ( )
inline

Returns the generator type.

Returns
The generator type.

◆ linear_expression()

Linear_Expression parma_polyhedra_library.Grid_Generator.linear_expression ( )
inline

Returns the linear expression in this.

Returns
The linear expression in this.

◆ divisor()

Coefficient parma_polyhedra_library.Grid_Generator.divisor ( )
inline

If this is either a grid point or a parameter, returns its divisor.

Exceptions
RuntimeErrorExceptionThrown if this is a line.
Returns
The divisor of the selected object.

◆ ascii_dump()

native String parma_polyhedra_library.Grid_Generator.ascii_dump ( )

Returns an ascii formatted internal representation of this.

Returns
An ascii formatted internal representation of this.

◆ toString()

native String parma_polyhedra_library.Grid_Generator.toString ( )

Returns a string representation of this.

Returns
A string representation of this.

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