|
|||||||||
| 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. |
long |
getStateIndex(double value)
Returns the index of the state matching the specified value. |
double |
getStateValue(long s)
Returns the value associated with a particular state of the node. |
void |
setStateValue(long s,
double v)
Sets the value associated with a particular state of the node. |
| Method Detail |
public long getStateIndex(double value)
throws ExceptionHugin
value - the state value of the state to be searched for
ExceptionHugin
public double getStateValue(long s)
throws ExceptionHugin
s - the index of the state in question.
ExceptionHugin
public void setStateValue(long 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 | ||||||||