36 ROEdge(id, from, to, index, priority), myPopulation(0.), myNumWorkplaces(0.) {
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
void setWorkplaceNumber(const double work)
Modifies the number of work places in this street.
AGStreet(const std::string &id, RONode *from, RONode *to, int index, const int priority)
void print() const
Prints a summary of the properties of this street to standard output.
double getPopulation() const
Provides the number of persons living in this street.
void setPopulation(const double pop)
Modifies the number of persons living in this street.
double getWorkplaceNumber() const
Provides the number of work places in this street.
bool allows(const SUMOVehicleClass vclass) const
Returns whether the given vehicle class is allowed on this street.
const std::string & getID() const
Returns the id.
A basic edge for routing applications.
SVCPermissions getPermissions() const
double getLength() const
Returns the length of the edge.
Base class for nodes used by the router.