TrafficPLANit / PLANit

see www.goPLANit.org
Other
0 stars 0 forks source link

Centroids should not longer be a vertex in the network. #49

Closed MarkRaadsen closed 1 year ago

MarkRaadsen commented 3 years ago

instead (like connectoids) they are a concept rather than a physical thing. The mapping to the nuderlying physical network should occur in two stages:

Centroid -> one or more nodes, where each node is in the same location (of the centroid) but is each on their own network layer. these nodes are then connected to the connectoids access nodes(link segments) via edges in the virtual network. This way we can properly support the network layers. currently this is not the case.

MarkRaadsen commented 3 years ago

this is also needed because ids should eventually be unique with a layer (not across a network), having centroid exist outside layers as vertices with an id is not compatible with this concept

MarkRaadsen commented 1 year ago

done on 10/3/2023 as part of deepCopy overhaul. Not formally tested yet, but seems to work, so going to close