|
| VIPRA_REGISTER_PARAMS (VIPRA_PARAM("endGoalType", _endGoalType), VIPRA_PARAM("cellSize", _cellSize), VIPRA_PARAM("densityUpdateFrequency", _densityUpdateFrequency), VIPRA_PARAM("densityCellSize", _densityCellSize), VIPRA_PARAM("densityWeight", _densityWeight)) VIPRA_GOALS_RESET |
|
_densityMap | intialize (map, _densityCellSize) |
|
| fill_grid (map) |
|
| for (VIPRA::idx pedIdx=0;pedIdx< pedset.num_pedestrians();++pedIdx) |
|
| if (_densityCheckCounter >=_densityUpdateFrequency) |
|
| for (VIPRA::idx pedIdx=0;pedIdx< pedset.num_pedestrians();++pedIdx) |
|
void | register_params (Parameters ¶mIn) |
| Registers the modules parameters with the parameter reader.
|
|
void | config (Parameters ¶mIn, VIPRA::Random::Engine &engine) |
| Loads in all parameters for the module.
|
|
void | initialize (VIPRA::Modules::Pedestrians const &pedset, VIPRA::Modules::Map const &map, VIPRA::Random::Engine &engine) |
|
void | update (Modules::Pedestrians const &pedset, Modules::Map const &map, VIPRA::delta_t deltaT) |
|
void | change_end_goal (VIPRA::idx pedIdx, VIPRA::f3d currPos, VIPRA::f3d goalPos, VIPRA::Random::Engine &engine) |
|
VIPRA_INLINE auto | current_goals () const -> const VIPRA::f3dVec & |
|
VIPRA_INLINE auto | end_goals () const -> const VIPRA::f3dVec & |
|
VIPRA_INLINE auto | current_goal (VIPRA::idx pedIdx) const -> VIPRA::f3d const & |
|
VIPRA_INLINE auto | end_goal (VIPRA::idx pedIdx) const -> VIPRA::f3d const & |
|
VIPRA_INLINE auto | is_goal_met (VIPRA::idx pedIdx) const -> bool |
|
VIPRA_INLINE auto | is_sim_goal_met () const -> bool |
|
VIPRA_INLINE auto | time_since_last_goal (VIPRA::idx pedIdx) const -> VIPRA::f_pnt |
|
| Goals (const Goals &)=default |
|
| Goals (Goals &&) noexcept=default |
|
auto | operator= (const Goals &) -> Goals &=default |
|
auto | operator= (Goals &&) noexcept -> Goals &=default |
|