Class IndexedConnectionByTimeStore
java.lang.Object
com.dna.jopt.member.unit.nodeedge.IndexedConnectionByTimeStore
- All Implemented Interfaces:
IConnectionByTimeStore
-
Constructor Summary
ConstructorDescriptionIndexedConnectionByTimeStore
(TimeIndexer indexer, long[] timeArray, double[] distanceArray) -
Method Summary
Modifier and TypeMethodDescriptionGets the distance meter as function of time.double[]
Gets the driving time as milliseconds as function of time.long[]
-
Constructor Details
-
IndexedConnectionByTimeStore
-
-
Method Details
-
getTimeIndexer
-
getTimeMillisArray
public long[] getTimeMillisArray() -
getDistanceMeterArray
public double[] getDistanceMeterArray() -
getDistanceMeter
Description copied from interface:IConnectionByTimeStore
Gets the distance meter as function of time.- Specified by:
getDistanceMeter
in interfaceIConnectionByTimeStore
- Parameters:
dt
- the time- Returns:
- the distance meter
-
getTimeMillis
Description copied from interface:IConnectionByTimeStore
Gets the driving time as milliseconds as function of time.- Specified by:
getTimeMillis
in interfaceIConnectionByTimeStore
- Parameters:
dt
- the time- Returns:
- the time millis
-