24 package parma_polyhedra_library;
26 import javax.management.RuntimeErrorException;
105 Error cause =
new Error(
"parma_polyhedra_library."
106 +
"Grid_Generator::divisor:\n"
107 +
"this is neither a grid point"
108 +
" nor a parameter.");
109 throw new RuntimeErrorException(cause);
118 private static native
void initIDs();
Coefficient divisor()
If this is either a grid point or a parameter, returns its divisor.
Grid_Generator_Type type()
Returns the generator type.
abstract Linear_Expression clone()
Returns a copy of the linear expression.
Grid_Generator(Linear_Expression e, Coefficient d, Grid_Generator_Type generator_type)
LINE
The generator is a line.
Linear_Expression linear_expression()
Returns the linear expression in this.
Coefficient div
The coefficient used if the grid generator is a parameter or a grid point a parameter.
static Grid_Generator parameter(Linear_Expression e, Coefficient d)
Returns the parameter at e / d.
Linear_Expression le
The linear expression.
A grid line, parameter or grid point.
Grid_Generator_Type gt
The grid generator type.
The generator is a point.
PPL_COEFFICIENT_TYPE Coefficient
PARAMETER
The generator is a parameter.
static native void initIDs()
static Grid_Generator grid_point(Linear_Expression e, Coefficient d)
Returns the point at e / d.
native String ascii_dump()
Returns an ascii formatted internal representation of this.
native String toString()
Returns a string representation of this.
static Grid_Generator grid_line(Linear_Expression e)
Returns the line of direction e.