Class base_flocking

Inheritance Relationships

Base Types

  • public cspatial::strategy::base_strategy

  • public rpprototype::clonable< base_flocking >

Derived Type

Class Documentation

class base_flocking : public cspatial::strategy::base_strategy, public rpprototype::clonable<base_flocking>

Base class for flocking strategies, to make collecting metrics and usage of the strategy pattern easier.

Subclassed by cosm::flocking::stoch_fov

Public Functions

base_flocking(base_flocking&&) = delete
base_flocking(const base_flocking&) = delete
base_flocking(const cflocking::config::flocking_config *config, const csfsm::fsm_params *params, rmath::rng *rng)
base_flocking &operator=(base_flocking&&) = delete
base_flocking &operator=(const base_flocking&) = delete

Protected Functions

inline const cflocking::config::flocking_config *config(void) const