24 package parma_polyhedra_library;
26 import javax.management.RuntimeErrorException;
38 public class Variable implements Comparable<Variable> {
50 RuntimeErrorException(
new Error(
"parma_polyhedra_library.Variable::"
52 +
" an index variable"
53 +
" cannot be negative."));
70 else if (varid == v.
varid)
91 private static native
void initIDs();
int compareTo(Variable v)
Returns a negative number if this is smaller than v, a zero if this equals v, a positive number if v ...
An interface for objects converting a Variable id to a string.
static native void initIDs()
Variable(long i)
Builds the variable corresponding to the Cartesian axis of index i.
static native void setStringifier(Variable_Stringifier vs)
Sets the variable stringifier object.
long id()
Returns the index of the Cartesian axis associated to this.
long varid
The index of the Cartesian axis.
A dimension of the vector space.
static Variable_Stringifier stringifier
Optional customization provider for toString.