86 void makeDistricts(
const std::map<std::string, std::pair<std::vector<std::string>, std::vector<std::string> > >& districts);
A map of named object pointers.
A container for districts.
ODDistrictCont & operator=(const ODDistrictCont &s)
invalidated assignment operator
void makeDistricts(const std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > &districts)
create districts from description
std::string getRandomSourceFromDistrict(const std::string &name) const
Returns the id of a random source from the named district.
std::string getRandomSinkFromDistrict(const std::string &name) const
Returns the id of a random sink from the named district.
~ODDistrictCont()
Destructor.
ODDistrictCont(const ODDistrictCont &s)
invalidated copy constructor
void loadDistricts(std::vector< std::string > files)
load districts from files
ODDistrictCont()
Constructor.