public class FunctionWeight
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
weightId
The int value that uniquely identifies this weight
|
protected double |
weightValue
The value of this weight.
|
Constructor and Description |
---|
FunctionWeight(int weightId,
double weightValue)
Initializes.
|
Modifier and Type | Method and Description |
---|---|
void |
setWeight(double w)
Sets the weight
|
int |
weightId()
Returns the weight identifier
|
double |
weightValue()
Returns the weight value
|
protected int weightId
protected double weightValue