Class positional_entropy
Defined in File positional_entropy.hpp
Inheritance Relationships
Base Types
public cosm::convergence::convergence_measure
(Class convergence_measure)public raclustering::entropy_balch2000< rmath::vector2d >
Class Documentation
-
class positional_entropy : public cosm::convergence::convergence_measure, public raclustering::entropy_balch2000<rmath::vector2d>
Calculate the positional entropy of the swarm, using the methods outlined in Balch2000 and Turgut2008.
Public Functions
-
inline positional_entropy(double epsilon, std::unique_ptr<raclustering::entropy_eh_omp<rmath::vector2d>> impl, const config::positional_entropy_config *const config)
-
inline bool operator()(const std::vector<rmath::vector2d> &data)
Calculate the positional entropy in 2D space of a swarm.
-
inline positional_entropy(double epsilon, std::unique_ptr<raclustering::entropy_eh_omp<rmath::vector2d>> impl, const config::positional_entropy_config *const config)