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
,ODRouteMatrix
public abstract class ODDataImpl<T> extends Object implements ODData<T>
Base class containing common methods required by all classes which implement ODData- Author:
- gman6028
-
-
Field Summary
Fields Modifier and Type Field Description protected Zoning.Zones
zones
holder for zones considered in the matrix
-
Constructor Summary
Constructors Constructor Description ODDataImpl(Zoning.Zones zones)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfTravelAnalysisZones()
Returns the number of zones contained in the object
-
-
-
Field Detail
-
zones
protected Zoning.Zones zones
holder for zones considered in the matrix
-
-
Constructor Detail
-
ODDataImpl
public ODDataImpl(Zoning.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:
getNumberOfTravelAnalysisZones
in interfaceODData<T>
- Returns:
- number of zones in the object
-
-