public interface LearningExperiment
LearningExperiment
interface defines the general functionality
of an object that implements an experiment regarding machine learning
algorithms. It defines listeners plus a method for getting the number of
trials in an experiment.Modifier and Type | Method and Description |
---|---|
void |
addListener(LearningExperimentListener listener)
Adds the given listener to this object.
|
int |
getNumTrials()
Gets the number of trials in the experiment.
|
void |
removeListener(LearningExperimentListener listener)
Removes the given listener from this object.
|
void addListener(LearningExperimentListener listener)
listener
- The listener to add.void removeListener(LearningExperimentListener listener)
listener
- The listener to remove.int getNumTrials()