public class MutableAtomFunctionVariable extends AtomFunctionVariable
RandomVariableAtom
for use in numeric functions.
This FunctionVariable can change the truth value of the RandomVariableAtom.
atom
Constructor and Description |
---|
MutableAtomFunctionVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
boolean |
isConstant()
Returns whether the term is constant.
|
void |
setValue(double val)
Sets the variable's value
|
public MutableAtomFunctionVariable(RandomVariableAtom atom)
public boolean isConstant()
FunctionTerm
public void setValue(double val)
FunctionVariable
val
- the value to setCopyright © 2018 University of California, Santa Cruz. All rights reserved.