Package org.planit.od
Class ODDataImpl<T>
- java.lang.Object
-
- org.planit.od.ODDataImpl<T>
-
- Type Parameters:
T- the type of data to be stored for each origin-destination cell
- All Implemented Interfaces:
ODData<T>
- Direct Known Subclasses:
ODMatrix,ODPathMatrix
public abstract class ODDataImpl<T> extends Object implements ODData<T>
Base class containing common methods required by all classes which implement ODData- Author:
- gman6028
-
-
Constructor Summary
Constructors Constructor Description ODDataImpl(Zones<?> zones)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfTravelAnalysisZones()Returns the number of zones contained in the object
-
-
-
Field Detail
-
zones
protected Zones<?> zones
holder for zones considered in the matrix
-
-
Constructor Detail
-
ODDataImpl
public ODDataImpl(Zones<?> zones)
Constructor- Parameters:
zones- zones considered in the matrix
-
-
Method Detail
-
getNumberOfTravelAnalysisZones
public int getNumberOfTravelAnalysisZones()
Returns the number of zones contained in the object- Specified by:
getNumberOfTravelAnalysisZonesin interfaceODData<T>- Returns:
- number of zones in the object
-
-