Interface MacroscopicLinkSegments
-
- All Superinterfaces:
Cloneable
,GraphEntities<MacroscopicLinkSegment>
,Iterable<MacroscopicLinkSegment>
,LongMapWrapper<MacroscopicLinkSegment>
,ManagedGraphEntities<MacroscopicLinkSegment>
,ManagedIdEntities<MacroscopicLinkSegment>
,MapWrapper<Long,MacroscopicLinkSegment>
- All Known Implementing Classes:
MacroscopicLinkSegmentsImpl
public interface MacroscopicLinkSegments extends ManagedGraphEntities<MacroscopicLinkSegment>
Primary managed container for MacroscopicLinkSegments explicitly and create them on the container via its dedicated factory class- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MacroscopicLinkSegments
clone()
Force clone implementationMacroscopicLinkSegmentFactory
getFactory()
Factory to create instance of graph entity (for this container class)default double[]
getFreeFlowTravelTimeHourPerLinkSegment(Mode mode)
Create a raw array of all free flow travel times of the registered macroscopic link segments where the index in the array corresponds to the link segment id (not id).-
Methods inherited from interface org.goplanit.utils.graph.GraphEntities
forEachMatchingIdIn, getByExternalId, getByXmlId
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.LongMapWrapper
get, remove
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntities
containsKey, getManagedIdClass, recreateIds, recreateIds, reset
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, contains, findFirst, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, size, toCollection, valuesAsNewSet
-
-
-
-
Method Detail
-
getFactory
MacroscopicLinkSegmentFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<MacroscopicLinkSegment>
- Specified by:
getFactory
in interfaceManagedIdEntities<MacroscopicLinkSegment>
- Returns:
- entity factory
-
clone
MacroscopicLinkSegments clone()
Force clone implementation- Specified by:
clone
in interfaceGraphEntities<MacroscopicLinkSegment>
- Specified by:
clone
in interfaceManagedGraphEntities<MacroscopicLinkSegment>
- Specified by:
clone
in interfaceManagedIdEntities<MacroscopicLinkSegment>
- Specified by:
clone
in interfaceMapWrapper<Long,MacroscopicLinkSegment>
- Returns:
- clone of entities
-
getFreeFlowTravelTimeHourPerLinkSegment
default double[] getFreeFlowTravelTimeHourPerLinkSegment(Mode mode)
Create a raw array of all free flow travel times of the registered macroscopic link segments where the index in the array corresponds to the link segment id (not id).- Parameters:
mode
- to use- Returns:
- free flow travel times for all link segments for the given mode
-
-