1package umontreal.ssj.latnetbuilder.weights;
17 implements Comparable<SingletonWeightComparable<T>> {
int compareTo(SingletonWeightComparable< T > w)
Method to be able to compare the current weight to another based on the ordering defined on 'T'.
SingletonWeightComparable(T ind, double w)
Constructs a single comparable weight with given 'index' and 'weight'.
T getIndex()
Returns the current 'index'.
SingletonWeight(T ind, double w)
Constructs a weight with given 'index' and 'weight'.