|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumericDiscreteNode
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 |
---|
int getStateIndex(double value) throws ExceptionHugin
value
- the state value of the state to be searched for
ExceptionHugin
double getStateValue(int s) throws ExceptionHugin
s
- the index of the state in question.
ExceptionHugin
void setStateValue(int s, double v) throws ExceptionHugin
s
- the index of the state in question.v
- the new value for state s
.
ExceptionHugin
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 |