RepastHPC
2.3.1
|
Operator(() that implements random move for a turtle. More...
#include <RandomMove.h>
Public Member Functions | |
RandomMove (Observer *observer) | |
Creates a RandomMove that randomly move turtles within the spaces managed by the specified observer. More... | |
void | operator() (Turtle *turtle) const |
Move the specified turtle at random. More... | |
Operator(() that implements random move for a turtle.
|
inline |
Creates a RandomMove that randomly move turtles within the spaces managed by the specified observer.
observer | the observer whose spaces and turtles we want to move |
void repast::relogo::RandomMove::operator() | ( | Turtle * | turtle | ) | const |
Move the specified turtle at random.
turtle | the turtel to move |