#include <GAttractAgent.h>
Inheritance diagram for GBE::GAttractAgent:


Public Slots | |
| virtual void | receiveInfluence (GCS::GElementInfluence &influence) |
Public Member Functions | |
| GAttractAgent (double factor=1, QObject *parent=0, const char *name=0) | |
| virtual | ~GAttractAgent () |
Protected Attributes | |
| double | Factor |
|
||||||||||||||||
|
Constructor |
|
|
Virtual destructor for subclassing. |
|
|
Reimplements GAgent::receiveInfluence(). Acceleration towards the source of the influence is implemented here. The attraction force also depends on how much alike the influence energy level and the own energy level are.
Reimplemented from GCS::GAgent. |
|
|
Common acceleration factor. |
1.3.6