Package org.goplanit.utils.od
Interface OdHashed<T>
-
- All Known Implementing Classes:
OdHashedImpl
,OdPathsHashed
public interface OdHashed<T> extends OdData<T>
This interface represents a hashed based implementation for handling origin-demand matrices of a certain type where the data is modelled by a single hash key generated from the OD zone information- Author:
- markr
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static int
generateHashKey(long originZoneId, long destinationZoneId)
generate a hash based on origin and destination zone idOdHashedIterator<T>
iterator()
Returns an iterator which can iterate through all the origin-destination entries-
Methods inherited from interface org.goplanit.utils.id.IdAble
clone, compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.goplanit.utils.od.OdData
getNumberOfOdZones, getValue, getValue, setValue
-
-