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...
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.
AGStreet(const std::string &id, RONode *from, RONode *to, unsigned int index, const int priority)
SUMOReal getWorkplaceNumber() const
Provides the number of work places in this street.
A basic edge for routing applications.
SUMOReal getLength() const
Returns the length of the edge.
void print() const
Prints a summary of the properties of this street to standard output.
SUMOReal getPopulation() const
Provides the number of persons living in this street.
void setWorkplaceNumber(const SUMOReal work)
Modifies the number of work places in this street.
void setPopulation(const SUMOReal pop)
Modifies the number of persons living in this street.
Base class for nodes used by the router.
SVCPermissions getPermissions() const