21 #ifndef TRACKING_ENTITY_H
22 #define TRACKING_ENTITY_H
104 if(
type != other.
type)
return false;
126 std::istream&
operator>>(std::istream& ist, Entity_id&
id);
129 std::ostream&
operator<<(std::ostream& ost,
const Entity_id&
id);
bool operator!=(const Entity_id &other) const
Definition: tracking_entity.h:97
Definition: tracking_entity.h:41
double get_entity_type_average_height(Entity_type type)
Get the average height of an entity.
Definition: tracking_entity.cpp:110
double get_entity_type_average_girth(Entity_type type)
Get the average girth of an entity.
Definition: tracking_entity.cpp:138
const std::string & get_entity_type_name(Entity_type type)
Get the name of a entity type.
Definition: tracking_entity.cpp:103
Entity_id(Entity_type type_, int index_)
Definition: tracking_entity.h:92
Entity_type type
Definition: tracking_entity.h:84
Definition: tracking_entity.h:40
Definition: tracking_entity.h:41
int index
Definition: tracking_entity.h:85
bool operator!() const
Definition: tracking_entity.h:115
Definition: tracking_entity.h:40
Definition: tracking_entity.h:41
Entity + index; used for file I/O.
Definition: tracking_entity.h:82
double get_entity_type_stddev_girth(Entity_type type)
Get the standard deviation of the girth of an entity.
Definition: tracking_entity.cpp:145
Definition: tracking_entity.h:43
bool operator==(const Entity_id &other) const
Definition: tracking_entity.h:102
Entity_type get_entity_type(const std::string &name)
Get the type of a entity name.
Definition: tracking_entity.cpp:96
std::ostream & operator<<(std::ostream &ost, Entity_type type)
Stream out an entity.
Definition: tracking_entity.cpp:152
double get_entity_type_average_width(Entity_type type)
Get the average width of an entity.
Definition: tracking_entity.cpp:124
double get_entity_type_stddev_width(Entity_type type)
Get the standard deviation of the width of an entity.
Definition: tracking_entity.cpp:131
Entity_type
Definition: tracking_entity.h:40
bool operator<(const Entity_id &other) const
Definition: tracking_entity.h:109
double get_entity_type_stddev_height(Entity_type type)
Get the standard deviation of the height of an entity.
Definition: tracking_entity.cpp:117
Definition: tracking_entity.h:43
Definition: tracking_entity.h:41
Entity_id()
Definition: tracking_entity.h:87
std::istream & operator>>(std::istream &ist, Entity_type &type)
Stream in an entity.
Definition: tracking_entity.cpp:163
Definition: tracking_entity.h:42
std::vector< std::string > get_all_entity_type_names()
Get all types.
Definition: tracking_entity.cpp:80
Definition: tracking_entity.h:40
Definition: tracking_entity.h:42
Definition: tracking_entity.h:42