|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimulator
public class Simulator
Nested Class Summary | |
---|---|
static interface |
Simulator.SimulationListener
|
Field Summary | |
---|---|
static double |
DOUBLE_DEFAULT_FRACTION_MISSING_VALUES
|
static double |
DOUBLE_FRACTION_MISSING_CEILING
|
static double |
DOUBLE_FRACTION_MISSING_FLOOR
|
static boolean |
FLAG_VERBOSE
|
static int |
INT_DEFAULT_NUM_CASES
|
static int |
INT_NUM_CASES_CEILING
|
static int |
INT_NUM_CASES_FLOOR
|
static int |
INT_NUM_FILES_CEILING
|
static int |
INT_NUM_FILES_DEFAULT
|
static int |
INT_NUM_FILES_FLOOR
|
Constructor Summary | |
---|---|
Simulator(BeliefNetwork bn)
|
Method Summary | |
---|---|
ProgressMonitorable[] |
decompose()
interface ProgressMonitorable |
String |
getDescription()
interface ProgressMonitorable |
String |
getNote()
interface ProgressMonitorable |
int |
getProgress()
interface ProgressMonitorable |
int |
getProgressMax()
interface ProgressMonitorable |
boolean |
isFinished()
interface ProgressMonitorable |
LearningData |
simulate()
|
LearningData |
simulate(int numcases,
double fractionmissing)
|
LearningData[] |
simulate(int numcases,
double fractionmissing,
int repetitions,
Simulator.SimulationListener listener)
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean FLAG_VERBOSE
public static final int INT_NUM_FILES_DEFAULT
public static final int INT_NUM_FILES_FLOOR
public static final int INT_NUM_FILES_CEILING
public static final int INT_DEFAULT_NUM_CASES
public static final int INT_NUM_CASES_FLOOR
public static final int INT_NUM_CASES_CEILING
public static final double DOUBLE_DEFAULT_FRACTION_MISSING_VALUES
public static final double DOUBLE_FRACTION_MISSING_FLOOR
public static final double DOUBLE_FRACTION_MISSING_CEILING
Constructor Detail |
---|
public Simulator(BeliefNetwork bn)
Method Detail |
---|
public LearningData[] simulate(int numcases, double fractionmissing, int repetitions, Simulator.SimulationListener listener) throws StateNotFoundException
StateNotFoundException
public LearningData simulate() throws StateNotFoundException
StateNotFoundException
public LearningData simulate(int numcases, double fractionmissing) throws StateNotFoundException
StateNotFoundException
public int getProgress()
getProgress
in interface ProgressMonitorable
public int getProgressMax()
getProgressMax
in interface ProgressMonitorable
public boolean isFinished()
isFinished
in interface ProgressMonitorable
public String getNote()
getNote
in interface ProgressMonitorable
public ProgressMonitorable[] decompose()
decompose
in interface ProgressMonitorable
public String getDescription()
getDescription
in interface ProgressMonitorable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |