|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--stochasticsampling.ImportanceSampling
|
+--stochasticsampling.ForwardSampling
Title: ForwardSampling.java Description: Core Stochastic Sampling class Copyright: Copyright (c) 2001 Company: KSU / KDD
| Constructor Summary | |
ForwardSampling(BBN nodes,
int totalsamples,
java.lang.String evfile)
ForwardSampling is the constructor and initializes variables |
|
| Method Summary | |
void |
generateAllSamples()
generateAllSamples generates m samples using forward sampling |
| Methods inherited from class stochasticsampling.ImportanceSampling |
generateSample, generateSample, reorder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ForwardSampling(BBN nodes,
int totalsamples,
java.lang.String evfile)
throws java.io.IOException
nodes - - the Bayesian networktotalsamples - - the number of samples to be takenevfile - - the evidence file name for the network| Method Detail |
public void generateAllSamples()
throws java.io.IOException
generateAllSamples in class ImportanceSampling
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||