#ifndef _LOCATION_H_ #define _LOCATION_H_ struct location_t { std::string name; double latitude; double longitude; location_t** neighbors; size_t nb_neighbors; location_t(std::string name, double latitude, double longitude) : name{name}, latitude{latitude}, longitude{longitude}{ } ~location_t(); void set_neighbors(location_t* list[]); double distance_to(location_t* to); void shortest_path_to(location_t* to); }; #endif