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 MacroscopicLinkSegmentsclone()Force clone implementationMacroscopicLinkSegmentFactorygetFactory()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:
getFactoryin interfaceGraphEntities<MacroscopicLinkSegment>- Specified by:
getFactoryin interfaceManagedIdEntities<MacroscopicLinkSegment>- Returns:
- entity factory
-
clone
MacroscopicLinkSegments clone()
Force clone implementation- Specified by:
clonein interfaceGraphEntities<MacroscopicLinkSegment>- Specified by:
clonein interfaceManagedGraphEntities<MacroscopicLinkSegment>- Specified by:
clonein interfaceManagedIdEntities<MacroscopicLinkSegment>- Specified by:
clonein 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
-
-