|
| CRobotAgentOptimised (const char *pch_name, unsigned int un_identification, CArguments *pc_agent_arguments, CArguments *pc_model_arguments, TBehaviorVector vec_behaviors) |
|
virtual void | SimulationStepUpdatePosition () |
|
virtual void | SetBehaviors (TBehaviorVector vec_behaviors) |
|
virtual TBehaviorVector | GetBehaviors () |
|
virtual EAgentType | GetType () |
|
virtual CRobotAgentOptimised * | GetRandomRobotWithWeights (double f_range) |
|
virtual CRobotAgentOptimised * | GetRandomRobotWithWeights (unsigned int u_nearestnbrs) |
|
virtual CRMinRobotAgentOptimised * | GetCRMinRobotAgent () |
|
virtual void | SetWeight (double f_weight) |
|
virtual double | GetWeight () const |
|
virtual const CFeatureVector * | GetFeatureVector () const |
|
virtual void | Sense (unsigned int u_nearestnbrs) |
|
virtual void | UpdateFeatureVectorDistribution (unsigned int fv, double increment) |
|
virtual list< structFVsSensed > * | GetFeatureVectorsSensed () |
|
virtual void | PrintFeatureVectorDistribution (unsigned int id) |
|
virtual double | GetFVSenseRange () const |
|
virtual unsigned int | GetColor () |
|
virtual unsigned int | GetSelectedNumNearestNbrs () |
|
virtual void | SetMostWantedList (list< structFVsSensed >::iterator *it, unsigned int state) |
|
virtual unsigned int | GetMostWantedState (unsigned int fv) |
|
virtual void | CheckNeighborsResponseToMyFV (unsigned int *pun_number_of_toleraters, unsigned int *pun_number_of_attackers, unsigned int *pun_number_of_unconverged, bool b_logs) |
|
virtual void | PrintDecidingAgentDetails (CFeatureVector *m_pcFV, CRobotAgentOptimised *decidingrobot) |
|
virtual unsigned int | Attack (CFeatureVector *pc_feature_vector) |
|
virtual void | IncNumberFloatingPtOperations () |
|
virtual void | IncNumberFloatingPtOperations (unsigned int count) |
|
virtual unsigned long long | GetNumberFloatingPtOperations () |
|
| CAgent (const char *pch_name, unsigned int un_identification, CArguments *pc_arguments) |
|
virtual const TVector2d * | GetPosition () const |
|
virtual void | SetPosition (TVector2d *pt_new_position) |
|
virtual const TVector2d * | GetVelocity () const |
|
virtual const TVector2d * | GetAcceleration () const |
|
virtual double | GetAngularVelocity () |
|
virtual double | GetAngularAcceleration () |
|
virtual void | SetVelocity (TVector2d *pt_velocity_position) |
|
virtual void | GetRelativeVelocity (double *mag_relvelocity, double *dir_relvelocity, double feature_range) |
|
virtual void | GetRelativeAcceleration (double *mag_relacceleration, double *dir_relacceleration, double feature_range) |
|
virtual double | GetVectorAngle (TVector2d vector1, TVector2d vector2) |
|
virtual void | SimulationStep (unsigned int n_step_number) |
|
virtual void | SetMaximumSpeed (double f_max_speed) |
|
virtual double | GetMaximumSpeed () const |
|
virtual double | GetMaximumAngularVelocity () const |
|
virtual void | SetColor (unsigned int un_index) |
|
virtual double | GetSize () |
|
virtual unsigned int | GetIdentification () |
|
virtual void | SetBehavIdentification (int i_behavidentification) |
|
virtual int | GetBehavIdentification () |
|
virtual CAgent * | GetClosestAgent (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetCenterOfMassOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual double | GetAverageDistanceToSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetAverageVelocityOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual TVector2d | GetAverageAccelerationOfSurroundingAgents (double f_range, EAgentType e_type) |
|
virtual void | MarkAgentsWithinRange (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual CAgent * | GetRandomAgentWithinRange (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual unsigned int | CountAgentsInAgentListList (TAgentListList *ptlist_agent_list_list, double f_range, EAgentType e_type) |
|
virtual unsigned int | CountAgents (double f_range, EAgentType e_type) |
|
virtual void | SetRandomVelocity () |
|
virtual void | MoveTowards (TVector2d t_position, double f_max_speed) |
|
virtual void | SortAllAgentsAccordingToDistance (TAgentVector *pt_result) |
|
| CSimObject (const char *pch_name) |
|
const char * | GetName () const |
|
virtual void | Draw (CRender *pc_render) |
|
virtual void | Keypressed (int keycode) |
|
virtual void | AddChild (CSimObject *pc_child) |
|
virtual void | RemoveChild (CSimObject *pc_child) |
|
virtual void | PrintfChildren (unsigned indent) |
|
virtual TSimObjectVector * | GetChildren () |
|