45 ROEdge(id, from, to, index, priority), myPopulation(0.), myNumWorkplaces(0.) {
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
double getLength() const
Returns the length of the edge.
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)
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.
double getPopulation() const
Provides the number of persons living in this street.
A basic edge for routing applications.
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.
void print() const
Prints a summary of the properties of this street to standard output.
Base class for nodes used by the router.
SVCPermissions getPermissions() const