1package umontreal.ssj.latnetbuilder.weights;
22 protected double weight;
void setWeight(double w)
Sets the value of the weight to 'w'.
double getWeight()
Returns the current value of the weight.
T getIndex()
Returns the current 'index'.
void setIndex(T ind)
Sets the index of the weight to 'ind'.
SingletonWeight(T ind, double w)
Constructs a weight with given 'index' and 'weight'.