|
|
| RoadJunction (Id id) |
| |
|
| RoadJunction (Id id, geometry::Point coords) |
| |
|
| RoadJunction (RoadJunction const &other) |
| |
|
RoadJunction & | operator= (RoadJunction const &other) |
| |
| virtual void | setCapacity (Size capacity) |
| | Set the junction's capacity.
|
| |
| void | setTransportCapacity (double capacity) |
| | Set the junction's transport capacity.
|
| |
| Size | capacity () const |
| | Get the junction's capacity.
|
| |
| double | transportCapacity () const |
| | Get the junction's transport capacity.
|
| |
| virtual double | density () const |
| |
| virtual bool | isFull () const |
| |
|
virtual bool | isIntersection () const noexcept |
| |
|
virtual bool | isTrafficLight () const noexcept |
| |
| virtual bool | isRoundabout () const noexcept |
| |
| | Node (Id id) |
| | Construct a new Node object with capacity 1.
|
| |
| | Node (Id id, geometry::Point point) |
| | Construct a new Node object with capacity 1.
|
| |
|
| Node (Node const &other) |
| |
|
Node & | operator= (Node const &other) |
| |
| void | setId (Id id) noexcept |
| | Set the node's id.
|
| |
| void | setGeometry (geometry::Point point) noexcept |
| | Set the node's geometry.
|
| |
| void | setName (const std::string &name) noexcept |
| | Set the node's name.
|
| |
|
void | addIngoingEdge (Id edgeId) |
| |
|
void | addOutgoingEdge (Id edgeId) |
| |
| Id | id () const |
| | Get the node's id.
|
| |
| std::optional< geometry::Point > const & | geometry () const noexcept |
| | Get the node's geometry.
|
| |
| std::string const & | name () const noexcept |
| | Get the node's name.
|
| |
|
std::vector< Id > const & | ingoingEdges () const noexcept |
| |
|
std::vector< Id > const & | outgoingEdges () const noexcept |
| |
| virtual bool | isStation () const noexcept |
| |