#include #pragma once /* -- Struct Edge -- */ class Edge { private: std::string m_src; // string source; beginning of the directed connection std::string m_dest; // string destination; end of the directed connection int m_weight; // weight public: Edge(std::string src, std::string dest, int weight) : m_src(src), m_dest(dest), m_weight(weight){}; const int &getWeight() const { return this->m_weight; }; void setWeight(int weight) { this->m_weight = weight; }; const std::string &getSrc() const { return this->m_src; }; void setSrc(std::string src) { this->m_src = src; }; const std::string &getDest() const { return this->m_dest; }; void setDest(std::string dest) { this->m_dest = dest; }; };