22 #ifndef ODDistrictCont_h
23 #define ODDistrictCont_h
96 void makeDistricts(
const std::map<std::string, std::pair<std::vector<std::string>, std::vector<std::string> > >& districts);
void makeDistricts(const std::map< std::string, std::pair< std::vector< std::string >, std::vector< std::string > > > &districts)
create districts from description
A map of named object pointers.
void loadDistricts(std::string districtfile)
load districts from FILE
~ODDistrictCont()
Destructor.
std::string getRandomSourceFromDistrict(const std::string &name) const
Returns the id of a random source from the named district.
ODDistrictCont()
Constructor.
A container for districts.
ODDistrictCont & operator=(const ODDistrictCont &s)
invalidated assignment operator
std::string getRandomSinkFromDistrict(const std::string &name) const
Returns the id of a random sink from the named district.