anthill.antsim
Interface Experiment

All Superinterfaces:
Clearable
All Known Subinterfaces:
GeneticExperiment
All Known Implementing Classes:
ExperimentImpl, TimeExperiment, RangeExperiment

public interface Experiment
extends Clearable

The Experiment interface represents the execution of a set of Scenarios. 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$
Author:
Alberto Montresor

Method Summary
 Stats[] evaluate()
          Perform the evaluation of the current ant algorithm.
 
Methods inherited from interface anthill.util.Clearable
clear
 

Method Detail

evaluate

public Stats[] evaluate()
Perform the evaluation of the current ant algorithm. Returns an array of Stats objects containing the statistics collected during the simulation.