Uses of Interface
org.goplanit.utils.network.layer.macroscopic.MacroscopicLinkSegment
-
Packages that use MacroscopicLinkSegment Package Description org.goplanit.algorithms.nodemodel Node model algorithms for PlanItorg.goplanit.assignment Traffic assignment classesorg.goplanit.assignment.ltm.eltm org.goplanit.assignment.ltm.sltm org.goplanit.assignment.traditionalstatic org.goplanit.converter.idmapping org.goplanit.converter.zoning org.goplanit.cost.physical Contains the definition of physical cost classesorg.goplanit.cost.physical.initial Initial Physical Cost objectsorg.goplanit.io.converter.network org.goplanit.matsim.converter org.goplanit.network.layer.macroscopic Macroscopic physical network component object classesorg.goplanit.osm.util org.goplanit.output.adapter Output Adapter and Output Type Adapter classes and interfacesorg.goplanit.supply.fundamentaldiagram Fundamental diagram classesorg.goplanit.utils.network.layer.macroscopic -
-
Uses of MacroscopicLinkSegment in org.goplanit.algorithms.nodemodel
Fields in org.goplanit.algorithms.nodemodel with type parameters of type MacroscopicLinkSegment Modifier and Type Field Description protected ArrayList<MacroscopicLinkSegment>
TampereNodeModelFixedInput. incomingLinkSegments
mapping of incoming link index to link segment (if any), i.e., a=1,...|A^in|-1protected ArrayList<MacroscopicLinkSegment>
TampereNodeModelFixedInput. outgoingLinkSegments
mapping of outgoing link index to link segment (if any), i.e.e, b=1,...|B^out|-1 -
Uses of MacroscopicLinkSegment in org.goplanit.assignment
Methods in org.goplanit.assignment with type parameters of type MacroscopicLinkSegment Modifier and Type Method Description <LS extends MacroscopicLinkSegment>
voidTrafficAssignment. setPhysicalCost(AbstractPhysicalCost physicalCost)
Set the physical cost where in case the cost is an InteractorAccessor will trigger an event to get access to the required data via requesting an InteractorAccessee -
Uses of MacroscopicLinkSegment in org.goplanit.assignment.ltm.eltm
Fields in org.goplanit.assignment.ltm.eltm declared as MacroscopicLinkSegment Modifier and Type Field Description protected MacroscopicLinkSegment
LinkSegmentBoundary. linkSegment
the link segment of this boundary -
Uses of MacroscopicLinkSegment in org.goplanit.assignment.ltm.sltm
Methods in org.goplanit.assignment.ltm.sltm with parameters of type MacroscopicLinkSegment Modifier and Type Method Description Optional<?>
StaticLtmLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)
Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.Optional<Boolean>
StaticLtmLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)
Returns true if there is a flow through the current specified link segment for the specified mode -
Uses of MacroscopicLinkSegment in org.goplanit.assignment.traditionalstatic
Methods in org.goplanit.assignment.traditionalstatic with parameters of type MacroscopicLinkSegment Modifier and Type Method Description Optional<?>
TraditionalStaticAssignmentLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)
Return the value of a specified output property of a link segmentOptional<Boolean>
TraditionalStaticAssignmentLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)
Returns true if there is a flow through the current specified link segment for the specified mode -
Uses of MacroscopicLinkSegment in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type MacroscopicLinkSegment Modifier and Type Method Description static Function<MacroscopicLinkSegment,String>
IdMapperFunctionFactory. createLinkSegmentIdMappingFunction(IdMapperType idMapper)
create a function that takes a link segment and (optional) id mapper and generates the appropriate link segment id based on the user configurationFunction<MacroscopicLinkSegment,String>
NetworkIdMapper. getLinkSegmentIdMapper()
get id mapper for link segments -
Uses of MacroscopicLinkSegment in org.goplanit.converter.zoning
Methods in org.goplanit.converter.zoning with parameters of type MacroscopicLinkSegment Modifier and Type Method Description static DirectedConnectoid
ZoningConverterUtils. createAndRegisterDirectedConnectoid(Zoning zoning, TransferZone accessZone, boolean downstreamAccessNode, MacroscopicLinkSegment linkSegment, Set<Mode> allowedModes)
create directed connectoid for the link segment provided, all related to the given transfer zone and with access modes provided.static org.locationtech.jts.geom.Point
ZoningConverterUtils. findConnectoidLocationForWaitingAreaOnLinkSegment(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Mode accessMode, double maxAllowedDistanceMeters, Function<Node,String> getOverwrittenWaitingAreaSourceIdForNode, Function<org.locationtech.jts.geom.Point,String> getOverwrittenWaitingAreaSourceIdForPoint, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)
find a suitable connectoid location on the given link based on the constraints that it must be able to reside on a link segment that is in the correct relative position to the transfer zone and supports the access mode on at least one of the designated link segment(s) that is eligible (if any).static boolean
ZoningConverterUtils. isPotentialAccessEntryLinkSegmentForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)
Verify if given link segment is potentially viable as access link segment for the given extreme node and access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.static boolean
ZoningConverterUtils. isWaitingAreaLeftOfAccessLineSegment(org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, org.locationtech.jts.geom.LineSegment accessLinkSegmentLineSegment, PlanitJtsCrsUtils geoUtils)
Verify if the provided line segment (somewhere along the geometry of the access link segment) resides on the correct side of the waiting area location, assuming this mattersMethod parameters in org.goplanit.converter.zoning with type arguments of type MacroscopicLinkSegment Modifier and Type Method Description static Collection<DirectedConnectoid>
ZoningConverterUtils. createAndRegisterDirectedConnectoids(Zoning zoning, TransferZone transferZone, Node accessNode, Iterable<? extends MacroscopicLinkSegment> linkSegments, Set<Mode> allowedModes)
create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided. -
Uses of MacroscopicLinkSegment in org.goplanit.cost.physical
Fields in org.goplanit.cost.physical with type parameters of type MacroscopicLinkSegment Modifier and Type Field Description protected Map<MacroscopicLinkSegment,BprLinkTravelTimeCost.BprParameters>
BprLinkTravelTimeCost. parametersPerLinkSegmentAndMode
Map to store default alpha and beta values for a specific link segmentMethods in org.goplanit.cost.physical with parameters of type MacroscopicLinkSegment Modifier and Type Method Description protected double
BprLinkTravelTimeCost. computeCostInHours(MacroscopicLinkSegment linkSegment, Mode mode, double flowPcuPerHour)
BPR function computation for.double
BprLinkTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)
Get the first derivative of the used travel time computation method towards the edge segment (in) flow rate in PCU per hour, i.e.double
FreeFlowLinkTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)
Derivative of free flow travel time is zerodouble
SteadyStateTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)
First Derivative towards inflowRate.double
BprLinkTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
Return the travel time for the current link for a given mode If the input data are invalid, this method returns a negative value.double
FreeFlowLinkTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
Return the free flow travel time for the current link for a given mode If the input data are invalid, this method returns a negative value.double
SteadyStateTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
Return the average travel time for the current link segment for a given modedouble
BprLinkTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the generalised cost of travel along an edge segment for a specified modedouble
FreeFlowLinkTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the generalised cost of travel along an edge segment for a specified modedouble
SteadyStateTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the generalised cost of travel along an edge segment for a specified modevoid
BPRConfigurator. setParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)
Set the alpha and beta values for a given link segment and modevoid
BprLinkTravelTimeCost. setParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)
Set the alpha and beta values for a given link segment and modeMethod parameters in org.goplanit.cost.physical with type arguments of type MacroscopicLinkSegment Modifier and Type Method Description void
AbstractPhysicalCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)
Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id.void
BprLinkTravelTimeCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)
populate the cost array with the BPR link travel times for all link segments for the specified modevoid
SteadyStateTravelTimeCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)
Populate the cost array with the free flow link travel times for all link segments for the specified mode -
Uses of MacroscopicLinkSegment in org.goplanit.cost.physical.initial
Methods in org.goplanit.cost.physical.initial with parameters of type MacroscopicLinkSegment Modifier and Type Method Description double
InitialMacroscopicLinkSegmentCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)
Not supported returns -infinity for all calls and logs severe warningdouble
InitialModesLinkSegmentCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)
Not supported returns -infinity for all calls and logs severe warningdouble
InitialMacroscopicLinkSegmentCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the initial cost for each link segment and mode for time period agnostic registrations.double
InitialModesLinkSegmentCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the initial cost for each link segment and mode.abstract double
InitialPhysicalCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)
get the initial cost for a specified mode and link segmentprotected double
InitialMacroscopicLinkSegmentCost. getSegmentCost(InitialModesLinkSegmentCost initialCostsByMode, Mode mode, MacroscopicLinkSegment linkSegment)
Returns the initial cost.double
InitialMacroscopicLinkSegmentCost. getSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment)
Returns the initial cost for each link segment and mode for time period specific registrations.abstract double
InitialPhysicalCost. getSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment)
get the initial cost for a specified mode and link segmentdouble
InitialMacroscopicLinkSegmentCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the generalised cost of travel along an edge segment for a specified modedouble
InitialModesLinkSegmentCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)
Returns the generalised cost of travel along an edge segment for a specified modevoid
InitialMacroscopicLinkSegmentCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)
Set the initial cost for a specified mode and link segmentvoid
InitialMacroscopicLinkSegmentCost. setSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment, double cost)
Set the initial cost for a specified mode and link segmentvoid
InitialModesLinkSegmentCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)
Sets the initial cost for each link segment and modeabstract void
InitialPhysicalCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)
Set the initial cost for a specified mode and link segmentabstract void
InitialPhysicalCost. setSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment, double cost)
Set the initial cost for a specified mode and link segment -
Uses of MacroscopicLinkSegment in org.goplanit.io.converter.network
Methods in org.goplanit.io.converter.network that return MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkSegment
PlanitNetworkReader. getLinkSegmentByExternalId(MacroscopicNetwork network, String externalId)
returns the first link segment for which the given external id matches. -
Uses of MacroscopicLinkSegment in org.goplanit.matsim.converter
Fields in org.goplanit.matsim.converter with type parameters of type MacroscopicLinkSegment Modifier and Type Field Description protected Function<MacroscopicLinkSegment,String>
MatsimNetworkWriterSettings. linkNtCategoryfunction
optional function used to populate the MATSIM link's nt_category field if setprotected Function<MacroscopicLinkSegment,String>
MatsimNetworkWriterSettings. linkNtTypefunction
optional function used to populate the MATSIM link's nt_type field if setprotected Function<MacroscopicLinkSegment,String>
MatsimNetworkWriterSettings. linkTypefunction
optional function used to populate the MATSIM link's type field if setMethod parameters in org.goplanit.matsim.converter with type arguments of type MacroscopicLinkSegment Modifier and Type Method Description void
MatsimNetworkWriterSettings. setNtCategoryFunction(Function<MacroscopicLinkSegment,String> linkNtCategoryfunction)
Allow the user to provide their own function on how to populate the nt_category field of a MATSIM link based on the link segment that is provided to itvoid
MatsimNetworkWriterSettings. setNtTypeFunction(Function<MacroscopicLinkSegment,String> linkNtTypefunction)
Allow the user to provide their own function on how to populate the nt_type field of a MATSIM link based on the link segment that is provided to itvoid
MatsimNetworkWriterSettings. setTypeFunction(Function<MacroscopicLinkSegment,String> linkTypeFunction)
Allow the user to provide their own function on how to populate the type field of a MATSIM link based on the link segment that is provided to it -
Uses of MacroscopicLinkSegment in org.goplanit.network.layer.macroscopic
Classes in org.goplanit.network.layer.macroscopic with type parameters of type MacroscopicLinkSegment Modifier and Type Class Description class
MacroscopicLinkImpl<N extends DirectedVertex,LS extends MacroscopicLinkSegment>
Link class connecting two nodes via some geometry.Classes in org.goplanit.network.layer.macroscopic that implement MacroscopicLinkSegment Modifier and Type Class Description class
MacroscopicLinkSegmentImpl
Link segment for macroscopic transport networks.Methods in org.goplanit.network.layer.macroscopic that return MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkSegment
MacroscopicLinkSegmentFactoryImpl. create(MacroscopicLink parentLink, boolean directionAb)
Create macroscopic link segment, do not register nor register on nodes and linkMacroscopicLinkSegment
MacroscopicLinkSegmentFactoryImpl. registerNew(MacroscopicLink parentLink, boolean directionAb, boolean registerOnLink)
Create a macroscopic link segment and register itMacroscopicLinkSegment
MacroscopicLinkSegmentFactoryImpl. registerNew(MacroscopicLink parentLink, MacroscopicLinkSegmentType type, boolean directionAb, boolean registerOnLink)
Create a macroscopic link segment and register itMethods in org.goplanit.network.layer.macroscopic that return types with arguments of type MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkImpl<Node,MacroscopicLinkSegment>
MacroscopicLinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)
Create new macroscopic link on container, allow to be registered on nodes if indicated)Pair<MacroscopicLinkSegment,MacroscopicLinkSegment>
MacroscopicLinkSegmentFactoryImpl. registerNew(MacroscopicLink parentLink, boolean registerOnLink)
Create macroscopic link segments in both directions and register themPair<MacroscopicLinkSegment,MacroscopicLinkSegment>
MacroscopicLinkSegmentFactoryImpl. registerNew(MacroscopicLink parentLink, boolean registerOnLink)
Create macroscopic link segments in both directions and register themMethod parameters in org.goplanit.network.layer.macroscopic with type arguments of type MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkSegmentsImpl
MacroscopicLinkSegmentsImpl. deepCloneWithMapping(BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperMacroscopicLinkSegmentsImpl
MacroscopicLinkSegmentsImpl. deepCloneWithMapping(BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructor parameters in org.goplanit.network.layer.macroscopic with type arguments of type MacroscopicLinkSegment Constructor Description MacroscopicLinkSegmentsImpl(MacroscopicLinkSegmentsImpl other, boolean deepCopy, BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Copy constructor, also creates new factory with this as its underlying containerMacroscopicLinkSegmentsImpl(MacroscopicLinkSegmentsImpl other, boolean deepCopy, BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Copy constructor, also creates new factory with this as its underlying container -
Uses of MacroscopicLinkSegment in org.goplanit.osm.util
Methods in org.goplanit.osm.util that return MacroscopicLinkSegment Modifier and Type Method Description static MacroscopicLinkSegment
PlanitNetworkLayerUtils. createPopulateAndRegisterLinkSegment(MacroscopicLink link, boolean directionAb, MacroscopicLinkSegmentType linkSegmentType, Double speedLimit, Integer numLanes, MacroscopicNetworkLayer networkLayer)
Default way to create a link segment (and register it ) in OSM -
Uses of MacroscopicLinkSegment in org.goplanit.output.adapter
Methods in org.goplanit.output.adapter with parameters of type MacroscopicLinkSegment Modifier and Type Method Description default Optional<Double>
MacroscopicLinkOutputTypeAdapter. getCapacityPerLanePcuHour(MacroscopicLinkSegment linkSegment)
Returns the value of the capacity per lanedefault Optional<String>
MacroscopicLinkOutputTypeAdapter. getDownstreamNodeExternalId(MacroscopicLinkSegment linkSegment)
Returns the external Id of the downstream nodeOptional<?>
MacroscopicLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)
Return the value of a specified output property of a link segmentOptional<?>
MacroscopicLinkOutputTypeAdapterImpl. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)
Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.default Optional<Long>
MacroscopicLinkOutputTypeAdapter. getLinkSegmentTypeId(MacroscopicLinkSegment linkSegment)
Return the link segment type id of the current link segmentdefault Optional<String>
MacroscopicLinkOutputTypeAdapter. getLinkSegmentTypeName(MacroscopicLinkSegment linkSegment)
Return the link segment type name of the current link segmentdefault Optional<String>
MacroscopicLinkOutputTypeAdapter. getLinkSegmentTypeXmlId(MacroscopicLinkSegment linkSegment)
Return the link segment type xml id of the current link segmentdefault Optional<Double>
MacroscopicLinkOutputTypeAdapter. getMaximumDensity(MacroscopicLinkSegment linkSegment)
Returns the flow density of the current linkdefault Optional<Double>
MacroscopicLinkOutputTypeAdapter. getMaximumSpeed(MacroscopicLinkSegment linkSegment, Mode mode)
Returns the maximum speed through the current link segmentOptional<Boolean>
MacroscopicLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)
Returns true if there is a flow through the current specified link segment for the specified mode -
Uses of MacroscopicLinkSegment in org.goplanit.supply.fundamentaldiagram
Methods in org.goplanit.supply.fundamentaldiagram with parameters of type MacroscopicLinkSegment Modifier and Type Method Description FundamentalDiagram
FundamentalDiagramComponent. get(MacroscopicLinkSegment linkSegment)
Collect the fundamental diagram for the given link segment.protected FundamentalDiagram
FundamentalDiagramComponent. register(MacroscopicLinkSegment linkSegment, FundamentalDiagram fundamentalDiagram)
Register the given fundamental diagram for the link segment.FundamentalDiagram
NewellFundamentalDiagramComponent. register(MacroscopicLinkSegment linkSegment, NewellFundamentalDiagram fundamentalDiagram)
Register the given Newell fundamental diagram for the link segment.void
FundamentalDiagramComponent. setCapacityLinkSegmentPcuHourLane(MacroscopicLinkSegment linkSegment, double capacityPcuHourLane)
Set the capacity in pcu/h/lane to use for the Newell FD for a given link segment.void
NewellFundamentalDiagramConfigurator. setCapacityLinkSegmentPcuHourLane(MacroscopicLinkSegment linkSegment, double capacityPcuHourLane)
Set the capacity in pcu/h/lane to use for the Newell FD for a given link segment.void
FundamentalDiagramComponent. setMaximumDensityLinkSegmentPcuKmLane(MacroscopicLinkSegment linkSegment, double maxDensityPcuKmLane)
Set the maximum density in pcu/km/lane to use for the Newell FD for a given link segment.void
NewellFundamentalDiagramConfigurator. setMaximumDensityLinkSegmentPcuKmLane(MacroscopicLinkSegment linkSegment, double maxDensityPcuKmLane)
Set the maximum density in pcu/km/lane to use for the Newell FD for a given link segment. -
Uses of MacroscopicLinkSegment in org.goplanit.utils.network.layer.macroscopic
Methods in org.goplanit.utils.network.layer.macroscopic that return MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkSegment
MacroscopicLinkSegmentFactory. create(MacroscopicLink parentLink, boolean directionAB)
Create macroscopic link segment, do not register nor register on nodes and linkMacroscopicLinkSegment
MacroscopicLinkSegment. deepClone()
An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.default MacroscopicLinkSegment
MacroscopicLink. getLinkSegment(boolean directionAb)
collect edgeSegment as something extending LinkSegment which is to be expected for any link.default MacroscopicLinkSegment
MacroscopicLink. getLinkSegmentAb()
collect edgeSegment Ab as something extending LinkSegment which is to be expected for any link.default MacroscopicLinkSegment
MacroscopicLink. getLinkSegmentBa()
collect edgeSegment Ba as something extending LinkSegment which is to be expected for any link.default MacroscopicLinkSegment
MacroscopicLink. getLinkSegmentIfLinkIsOneWayForMode(Mode mode)
Collect the one way link segment for the mode if the link is in fact one way.MacroscopicLinkSegment
MacroscopicLinkSegmentFactory. registerNew(MacroscopicLink parentLink, boolean directionAb, boolean registerOnLink)
Create a macroscopic link segment and register itMacroscopicLinkSegment
MacroscopicLinkSegmentFactory. registerNew(MacroscopicLink parentLink, MacroscopicLinkSegmentType type, boolean directionAb, boolean registerOnLink)
Create a macroscopic link segment and register itMacroscopicLinkSegment
MacroscopicLinkSegment. shallowClone()
Create a shallow copy of this entityMethods in org.goplanit.utils.network.layer.macroscopic that return types with arguments of type MacroscopicLinkSegment Modifier and Type Method Description default Collection<? extends MacroscopicLinkSegment>
MacroscopicLink. getLinkSegments()
collect all available link segments of this linkPair<MacroscopicLinkSegment,MacroscopicLinkSegment>
MacroscopicLinkSegmentFactory. registerNew(MacroscopicLink parentLink, boolean registerOnLink)
Create macroscopic link segments in both directions and register themPair<MacroscopicLinkSegment,MacroscopicLinkSegment>
MacroscopicLinkSegmentFactory. registerNew(MacroscopicLink parentLink, boolean registerOnLink)
Create macroscopic link segments in both directions and register themMethod parameters in org.goplanit.utils.network.layer.macroscopic with type arguments of type MacroscopicLinkSegment Modifier and Type Method Description MacroscopicLinkSegments
MacroscopicLinkSegments. deepCloneWithMapping(BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies createdMacroscopicLinkSegments
MacroscopicLinkSegments. deepCloneWithMapping(BiConsumer<MacroscopicLinkSegment,MacroscopicLinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies created
-