#include <iso_flock_euler_integration.h>
Inherits iso::flock::Behavior.
Inheritance diagram for iso::flock::EulerIntegration:


Public Member Functions | |
| EulerIntegration (const base::String &pInputParameterString, const base::String &pOutputParameterString) | |
| create behavior | |
| EulerIntegration (Agent *pAgent, const base::String &pBehaviorName, const base::String &pInputParameterString, const base::String &pOutputParameterString) throw (FlockException) | |
| create behavior | |
| ~EulerIntegration () | |
| create euler integration behavior destructor | |
| virtual Behavior * | create (const base::String &pBehaviorName, Agent *pAgent) const throw (FlockException) |
| create copy of behavior | |
| virtual Behavior * | create (const base::String &pInputParameterString, const base::String &pOutputParameterString) const |
| create copy of behavior | |
| virtual void | act () |
| perform integration | |
Protected Attributes | |
| Parameter * | mDerivative0ParIn |
| Parameter * | mDerivative1ParIn |
| zero order derivative (input) | |
| Parameter * | mDerivative2Par |
| first order derivative (input) | |
| Parameter * | mDerivative0ParOut |
| second order derivative (input) | |
| Parameter * | mDerivative1ParOut |
| zero order derivative (output) | |
| Parameter * | mTimeStepPar |
| first order derivative (output) | |
| EulerIntegration::EulerIntegration | ( | const base::String & | pInputParameterString, | |
| const base::String & | pOutputParameterString | |||
| ) |
create behavior
| pInputParameterString | input parameter string (parameters are space separated) | |
| pOutputParameterString | output paramaters are space separated) |
| EulerIntegration::EulerIntegration | ( | Agent * | pAgent, | |
| const base::String & | pBehaviorName, | |||
| const base::String & | pInputParameterString, | |||
| const base::String & | pOutputParameterString | |||
| ) | throw (FlockException) |
create behavior
| pAgent | agent this behavior belongs to | |
| pBehaviorName | name of behavior | |
| pInputParameterString | input parameter string (parameters are space separated) | |
| pOutputParameterString | output paramaters are space separated) |
| FlockException | wrong number of type of parameters |
| EulerIntegration::~EulerIntegration | ( | ) |
create euler integration behavior destructor
| Behavior * EulerIntegration::create | ( | const base::String & | pBehaviorName, | |
| Agent * | pAgent | |||
| ) | const throw (FlockException) [virtual] |
create copy of behavior
| pAgent | agent this behavior belongs to | |
| pBehaviorName | name of behavior |
| FlockException | wrong number of type of parameters |
Implements iso::flock::Behavior.
| Behavior * EulerIntegration::create | ( | const base::String & | pInputParameterString, | |
| const base::String & | pOutputParameterString | |||
| ) | const [virtual] |
create copy of behavior
| pInputParameterString | input parameter string | |
| pOutputParameterString | output parameter string |
Implements iso::flock::Behavior.
| void EulerIntegration::act | ( | ) | [virtual] |
Parameter* iso::flock::EulerIntegration::mDerivative0ParIn [protected] |
Parameter* iso::flock::EulerIntegration::mDerivative1ParIn [protected] |
zero order derivative (input)
Parameter* iso::flock::EulerIntegration::mDerivative2Par [protected] |
first order derivative (input)
second order derivative (input)
zero order derivative (output)
Parameter* iso::flock::EulerIntegration::mTimeStepPar [protected] |
first order derivative (output)
1.5.1