|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NumericDiscreteNode interface declares the common methods for
the NumberedDCNode
, NumberedDDNode
, IntervalDCNode
, and IntervalDDNode
classes.
Method Summary | |
double |
getQuantile(double probability)
Returns the quantile corresponding to the specified probability argument of the inverse cumulative
distribution function. |
int |
getStateIndex(double value)
Returns the index of the state matching the specified value. |
double |
getStateValue(int s)
Returns the value associated with a particular state of the node. |
void |
setStateValue(int s,
double v)
Sets the value associated with a particular state of the node. |
Method Detail |
public int getStateIndex(double value) throws ExceptionHugin
value
- the state value of the state to be searched for
ExceptionHugin
public double getStateValue(int s) throws ExceptionHugin
s
- the index of the state in question.
ExceptionHugin
public void setStateValue(int s, double v) throws ExceptionHugin
s
- the index of the state in question.v
- the new value for state s
.
ExceptionHugin
public double getQuantile(double probability) throws ExceptionHugin
probability
argument of the inverse cumulative
distribution function.
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |