Class Development.HistoricalMatrix
java.lang.Object
org.opentrafficsim.core.perception.AbstractHistorical<double[][],Development.EventMatrix>
org.opentrafficsim.demo.doc.tutorials.Development.HistoricalMatrix
- All Implemented Interfaces:
org.opentrafficsim.core.perception.HistoryManager.HistoricalElement
- Enclosing class:
- Development
public class Development.HistoricalMatrix
extends org.opentrafficsim.core.perception.AbstractHistorical<double[][],Development.EventMatrix>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opentrafficsim.core.perception.AbstractHistorical
org.opentrafficsim.core.perception.AbstractHistorical.EventValue<T extends Object>
-
Constructor Summary
ModifierConstructorDescriptionprotected
HistoricalMatrix
(org.opentrafficsim.core.perception.HistoryManager historyManager, double[][] matrix) -
Method Summary
Methods inherited from class org.opentrafficsim.core.perception.AbstractHistorical
addEvent, cleanUpHistory, getEvent, getEvents, getLastEvent, isLastState, now, removeEvent
-
Constructor Details
-
HistoricalMatrix
protected HistoricalMatrix(org.opentrafficsim.core.perception.HistoryManager historyManager, double[][] matrix)
-
-
Method Details
-
getMatrix
public double[][] getMatrix() -
setValue
public void setValue(int i, int j, double value) -
getMatrix
public double[][] getMatrix(org.djunits.value.vdouble.scalar.Time time)
-