24 package parma_polyhedra_library;
26 import javax.management.RuntimeErrorException;
62 Error cause =
new Error(
"parma_polyhedra_library.Generator::"
63 +
"Generator(e, d):\n"
64 +
"the divisor can not be zero.");
65 throw new RuntimeErrorException(cause);
89 Error cause =
new Error(
"parma_polyhedra_library.Generator::"
90 +
"Generator(e, d):\n"
91 +
"the divisor can not be zero.");
92 throw new RuntimeErrorException(cause);
129 Error cause =
new Error(
"parma_polyhedra_library.Generator::divisor:\n"
130 +
"this is neither a point"
131 +
" nor a closure point.");
132 throw new RuntimeErrorException(cause);
141 private static native
void initIDs();
abstract Linear_Expression clone()
Returns a copy of the linear expression.
static native void initIDs()
native String ascii_dump()
Returns an ascii formatted internal representation of this.
static Generator ray(Linear_Expression e)
Returns the ray of direction e.
Generator_Type type()
Returns the generator type.
Coefficient div
The divisor (valid if the generator is a point or a closure point).
Linear_Expression linear_expression()
Returns the linear expression in this.
LINE
The generator is a line.
A line, ray, point or closure point.
Generator(Linear_Expression e, Generator_Type g_type)
Builds a generator of type g_type, stealing the coefficients from e.
The generator is a closure point.
Generator_Type gt
The generator type.
static Generator closure_point(Linear_Expression e, Coefficient d)
Returns the closure point at e / d.
PPL_COEFFICIENT_TYPE Coefficient
BigInteger getBigInteger()
Returns the value held by this.
POINT
The generator is a point.
static Generator line(Linear_Expression e)
Returns the line of direction e.
native String toString()
Returns a string representation of this.
Coefficient divisor()
If this is either a point or a closure point, returns its divisor.
static Generator point(Linear_Expression e, Coefficient d)
Returns the point at e / d.
Linear_Expression le
The linear expression.
RAY
The generator is a ray.