|
|
| RoadJunction (Id id) |
|
| RoadJunction (Id id, geometry::Point coords) |
|
| RoadJunction (RoadJunction const &other) |
|
RoadJunction & | operator= (RoadJunction const &other) |
| virtual void | setCapacity (std::size_t const capacity) |
| | Set the junction's capacity.
|
| void | setTransportCapacity (double capacity) |
| | Set the junction's transport capacity.
|
| std::size_t | 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 constexpr bool | isIntersection () const noexcept |
|
virtual constexpr bool | isTrafficLight () const noexcept |
| virtual constexpr 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) |
| | Add an ingoing edge to the node.
|
| void | addOutgoingEdge (Id edgeId) |
| | Add an outgoing edge to the node.
|
| void | setBetweennessCentrality (double const betweennessCentrality) noexcept |
| | Set the node's betweenness centrality.
|
| auto | id () const |
| | Get the node's id.
|
| auto const & | geometry () const noexcept |
| | Get the node's geometry.
|
| auto const & | name () const noexcept |
| | Get the node's name.
|
| auto const & | ingoingEdges () const noexcept |
| | Get the node's ingoing edges.
|
| auto const & | outgoingEdges () const noexcept |
| | Get the node's outgoing edges.
|
| auto const & | betweennessCentrality () const noexcept |
| | Get the node's betweenness centrality.
|