iso::flock::EulerIntegration Class Reference

#include <iso_flock_euler_integration.h>

Inherits iso::flock::Behavior.

Inheritance diagram for iso::flock::EulerIntegration:

Inheritance graph
[legend]
Collaboration diagram for iso::flock::EulerIntegration:

Collaboration graph
[legend]
List of all members.

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 Behaviorcreate (const base::String &pBehaviorName, Agent *pAgent) const throw (FlockException)
 create copy of behavior
virtual Behaviorcreate (const base::String &pInputParameterString, const base::String &pOutputParameterString) const
 create copy of behavior
virtual void act ()
 perform integration

Protected Attributes

ParametermDerivative0ParIn
ParametermDerivative1ParIn
 zero order derivative (input)
ParametermDerivative2Par
 first order derivative (input)
ParametermDerivative0ParOut
 second order derivative (input)
ParametermDerivative1ParOut
 zero order derivative (output)
ParametermTimeStepPar
 first order derivative (output)

Constructor & Destructor Documentation

EulerIntegration::EulerIntegration ( const base::String &  pInputParameterString,
const base::String &  pOutputParameterString 
)

create behavior

Parameters:
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

Parameters:
pAgent agent this behavior belongs to
pBehaviorName name of behavior
pInputParameterString input parameter string (parameters are space separated)
pOutputParameterString output paramaters are space separated)
Exceptions:
FlockException wrong number of type of parameters

EulerIntegration::~EulerIntegration (  ) 

create euler integration behavior destructor


Member Function Documentation

Behavior * EulerIntegration::create ( const base::String &  pBehaviorName,
Agent pAgent 
) const throw (FlockException) [virtual]

create copy of behavior

Parameters:
pAgent agent this behavior belongs to
pBehaviorName name of behavior
Returns:
new behavior
Exceptions:
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

Parameters:
pInputParameterString input parameter string
pOutputParameterString output parameter string
Returns:
new behavior

Implements iso::flock::Behavior.

void EulerIntegration::act (  )  [virtual]

perform integration

Implements iso::flock::Behavior.


Member Data Documentation

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)

Parameter* iso::flock::EulerIntegration::mDerivative0ParOut [protected]

second order derivative (input)

Parameter* iso::flock::EulerIntegration::mDerivative1ParOut [protected]

zero order derivative (output)

Parameter* iso::flock::EulerIntegration::mTimeStepPar [protected]

first order derivative (output)


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 15:28:04 2011 for iso_flock by  doxygen 1.5.1