#include <robmanage.h>
Inheritance diagram for rt::SimManager:

Public Methods | |
| virtual void | setup (SimOptions *const options) |
| creates supervisors, results and programs. | |
| virtual void | run ()=0 |
| virtual | ~SimManager () |
| destroys managerSupervisors and programs, but NOT options. | |
Protected Methods | |
| virtual void | createSupervisors () |
| creates a StdBotCreator and a StdVictorySupervisor. More... | |
| void | createPrograms () |
| creates Programs and empty results for them. | |
| TourStatusType | doStdSim (const lrt::Array< int > &programNums) |
| Do one sim between the given programs, using standard scoring. | |
| TourStatusType | doAllStdSims (const lrt::Array< int > &programNums) |
| Do all (i.e.\ options->numRepeats) sims between the given programs. | |
| virtual TourInitInfo | getTourInitInfo ()=0 |
| SimManager () | |
Protected Attributes | |
| SimOptions * | options |
| Simulation * | curSim |
| lrt::Vector< SimSupervisor * > | managerSupervisors |
| lrt::Vector< Program * > | programs |
| lrt::Vector< TourResult > | results |
Loads the programs and sets up the simulations.
|
|
creates a StdBotCreator and a StdVictorySupervisor. If you'd like different ones, just override this method. |