#![deny(missing_docs)]
pub mod anticipation_velocity;
pub mod broadphase;
pub mod calibration;
pub mod collision_free_speed;
pub mod common;
#[cfg(feature = "cuda")]
pub mod cuda;
pub mod error;
pub mod generalized_centrifugal_force;
pub mod integration;
pub mod optimal_steps;
#[cfg(feature = "simd")]
pub mod simd;
pub mod social_force;
pub mod threed;
pub use broadphase::{recommended_cell_size, NeighborGrid, Scratch};
pub use calibration::{
apply_weidmann_speed_cap, apply_weidmann_speed_target, density_for_area, mean_speed,
CalibrationPoint, CalibrationReport, WeidmannCurve,
};
pub use common::{Pedestrian, PedestrianModel, WallSegment};
pub use error::CrowdError;
pub use integration::{
pack_columns_from, step_columns_f64, step_scratch_store, step_scratch_store_observed,
unpack_columns_into, AnticipationVelocityModel, CollisionFreeSpeedModel, CrowdAgent,
CrowdObserver, CrowdStep, GeneralizedCentrifugalForceModel, OptimalStepsModel,
SocialForceModel,
};
#[cfg(feature = "rayon")]
pub use integration::{step_scratch_store_observed_par, step_scratch_store_par, CrowdStepPar};
pub use threed::{LayeredObserver, LayeredScratch, Pedestrian3D, WallPolygon3D};
pub mod prelude {
pub use crate::broadphase::{recommended_cell_size, NeighborGrid, Scratch};
pub use crate::calibration::{
apply_weidmann_speed_cap, apply_weidmann_speed_target, density_for_area, mean_speed,
CalibrationPoint, CalibrationReport, WeidmannCurve,
};
pub use crate::common::{Pedestrian, PedestrianModel, WallSegment};
pub use crate::error::CrowdError;
pub use crate::integration::{
pack_columns_from, step_columns_f64, step_scratch_store, step_scratch_store_observed,
unpack_columns_into, AnticipationVelocityModel, CollisionFreeSpeedModel, CrowdAgent,
CrowdObserver, CrowdStep, GeneralizedCentrifugalForceModel, OptimalStepsModel,
SocialForceModel,
};
#[cfg(feature = "rayon")]
pub use crate::integration::{
step_scratch_store_observed_par, step_scratch_store_par, CrowdStepPar,
};
pub use crate::threed::{
step_layered, step_layered_scratch, step_layered_scratch_observed, LayeredObserver,
LayeredScratch, Pedestrian3D, WallPolygon3D,
};
pub use crate::{
anticipation_velocity, collision_free_speed, generalized_centrifugal_force, optimal_steps,
social_force, threed,
};
}