antsim
Interface Experiment
- All Superinterfaces:
- Clearable
- All Known Subinterfaces:
- GeneticExperiment
- All Known Implementing Classes:
- ExperimentImpl, RangeExperiment, TimeExperiment
- public interface Experiment
- extends Clearable
The Experiment
interface represents the execution
of a set of Scenario
s. When executed, an experiment
returns a collection of Stats
objects containing
statistics about the behavior of the current ant algorithm.
Different Experiment
implementations may provide
distinct functionalities to ant developers. For example, a
basic implementation could simply repeat the execution of the
same scenario for a certain number of times, while others
could collect statistics for different scenarios, or show
the behavior of an algorithm over time.
- Version:
- $Revision: 1.2 $
- Author:
- Alberto Montresor
Field Summary |
static String |
NAME
Identifier used in the configuration files |
Method Summary |
Object |
evaluate()
Perform the evaluation of the current ant algorithm. |
NAME
public static final String NAME
- Identifier used in the configuration files
- See Also:
- Constant Field Values
evaluate
public Object evaluate()
- Perform the evaluation of the current ant algorithm. Returns an
array of
Stats
objects containing the statistics
collected during the simulation.