edu.ksu.cis.bnj.bbn
Class BBNConstant
java.lang.Object
edu.ksu.cis.bnj.bbn.BBNPDF
edu.ksu.cis.bnj.bbn.BBNConstant
- All Implemented Interfaces:
- java.lang.Cloneable
- public class BBNConstant
- extends BBNPDF
- implements java.lang.Cloneable
- Author:
- Roby Joehanes
Method Summary |
java.lang.Object |
clone()
Clone |
boolean |
equals(java.lang.Object o)
Equality test |
double |
evaluate(java.util.Hashtable q)
|
int |
hashCode()
Same as toString().hashCode() |
java.lang.String |
toString()
Standard toString |
Methods inherited from class edu.ksu.cis.bnj.bbn.BBNPDF |
add, contains, divide, generateValue, getLowerBound, getMean, getType, getUpperBound, getValue, getVariance, multiply, setMean, setType, setValue, setVariance, subtract, toConstant |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
BBNConstant
public BBNConstant()
BBNConstant
public BBNConstant(double d)
evaluate
public double evaluate(java.util.Hashtable q)
- Overrides:
evaluate
in class BBNPDF
- See Also:
edu.ksu.cis.bnj.bbn.BBNCPF#evaluate(edu.ksu.cis.bnj.bbn.BBNQuery)
equals
public boolean equals(java.lang.Object o)
- Equality test
- Overrides:
equals
in class BBNPDF
- See Also:
Object.equals(Object)
toString
public java.lang.String toString()
- Standard toString
- Overrides:
toString
in class BBNPDF
- See Also:
Object.toString()
hashCode
public int hashCode()
- Same as toString().hashCode()
- Overrides:
hashCode
in class BBNPDF
- See Also:
Object.hashCode()
clone
public java.lang.Object clone()
- Clone
- Overrides:
clone
in class BBNPDF
- See Also:
Object.clone()