ZooSpecies
[Zoo]
Detailed Description
Description: An addon to the Stage plugin for Zoo functionality. Author: Adam Lein Date: July 14, 2005
Function Documentation
bool ZooSpecies::Hosts |
( |
int |
p |
) |
[inherited] |
|
|
Determine whether the robot on this port is in the population of this species. |
void ZooSpecies::KillAll |
( |
void |
|
) |
[inherited] |
|
|
Kill the controller on every member of my population. |
void ZooSpecies::print |
( |
void |
|
) |
[inherited] |
|
|
Dump out details about this species. |
|
Run a controller on port a given port. - Parameters:
-
- Returns:
- a pointer to the ZooController that was executed.
|
void ZooSpecies::RunAll |
( |
void |
|
) |
[inherited] |
|
|
Run a controller for every member of my population. |
ZooController * ZooSpecies::SelectController |
( |
void |
|
) |
[inherited] |
|
|
Pick a controller from the pool. Deterministic; uses a round-robin scheme with priority. |
|
Set a callback to be called when a robot's score changes. FIXME: This means that if the score doesn't change, the display doesn't move with the robot. Oops. - Parameters:
-
| draw_cb | the callback. |
| userdata | arbitrary data to be passed along. |
|
ZooSpecies::ZooSpecies |
( |
ConfigFile * |
cf, |
|
|
int |
section, |
|
|
ZooDriver * |
_zoo |
|
) |
[inherited] |
|
ZooSpecies::~ZooSpecies |
( |
|
) |
[inherited] |
|
|
ZooSpecies destructor. Destroys model list and port list. |
Generated on Thu Dec 13 14:35:18 2007 for Stage by
1.4.6