45 ROEdge(id, from, to, index, priority), myPopulation(0.), myNumWorkplaces(0.) {
SUMOReal getLength() const
Returns the length of the edge.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
AGStreet(const std::string &id, RONode *from, RONode *to, int index, const int priority)
const std::string & getID() const
Returns the id.
SVCPermissions getPermissions() const
SUMOReal getWorkplaceNumber() const
Provides the number of work places in this street.
SUMOReal getPopulation() const
Provides the number of persons living in this street.
void print() const
Prints a summary of the properties of this street to standard output.
A basic edge for routing applications.
bool allows(const SUMOVehicleClass vclass) const
Returns whether the given vehicle class is allowed on 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.