Struct flocking_config

Inheritance Relationships

Base Type

  • public rconfig::base_config

Struct Documentation

struct flocking_config : public rconfig::base_config

Configuration for flocking strategies that can be employed by agents.

Public Members

double leader_sel_prob = {0}

The probability that a given agent will be selected as a leader during initialization.

This can be used to elect multiple leaders if needed.

stoch_fov_config stoch_fov = {}

Configuration for cflocking::stoch_fov.

std::string strategy = {rconfig::constants::kNoValue}

The strategy to employ.

boost::optional<cnconfig::trajectory_config> trajectory = {boost::none}

The trajectory that flocking leaders should follow.

Optional, because the particular flocking strategy employed might not need leaders.