77 AGStreet(
const std::string&
id,
RONode* from,
RONode* to,
unsigned int index,
const int priority);
unsigned int getNextIndex()
Returns the index of the edge to built.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
A location in the 2D plane freely positioned on a street.
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
A model of the street in the city.
Interface for building instances of router-edges.
bool allows(const SUMOVehicleClass vclass) const
Returns whether the given vehicle class is allowed on this street.
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.
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.