ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CSpaceHash< ENTITY, UPDATER > Class Template Reference

Defines the basic space hash. More...

#include <space_hash.h>

+ Inheritance diagram for argos::CSpaceHash< ENTITY, UPDATER >:

List of all members.

Public Member Functions

virtual void Update ()
 Updates the entire space hash.

Detailed Description

template<class ENTITY, class UPDATER>
class argos::CSpaceHash< ENTITY, UPDATER >

Defines the basic space hash.

If you want to create a new space hash implementation, you need to extend this class.

Parameters:
ENTITYThe type of entity held by the corresponding space hash
UPDATERThe cell updater for type ENTITY
See also:
CSpaceHashNative

Definition at line 300 of file space_hash.h.


Member Function Documentation

template<class ENTITY, class UPDATER>
virtual void argos::CSpaceHash< ENTITY, UPDATER >::Update ( ) [inline, virtual]

Updates the entire space hash.

It calls the updater for all the entities held by the space hash.

See also:
CSpaceHashUpdater

Implements argos::CAbstractSpaceHash< ENTITY >.

Reimplemented in argos::CSpaceHashNative< Element, Updater >.

Definition at line 309 of file space_hash.h.


The documentation for this class was generated from the following file: