AnyLogic
Expand
Font size
All Implemented Interfaces:
DensityMapDataStorage, Serializable

@AnyLogicInternalAPI
public class DensityMapGridDataStorage
extends Object
implements DensityMapDataStorage
See Also:
Serialized Form

Method Summary

Modifier and TypeMethodDescription
doublegetValue(int xIndex, int yIndex) 
voidinitializeDensity(int xIndex, int yIndex, double initialDensity) 
voidreset() 
voidsetAttenuationType(com.anylogic.engine.markup.DensityMapGridDataStorage.AttenuationType type) 
voidsetDensity(int xIndex, int yIndex, double newValue) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

setAttenuationType

public void setAttenuationType(com.anylogic.engine.markup.DensityMapGridDataStorage.AttenuationType type)
Specified by:
setAttenuationType in interface DensityMapDataStorage

getValue

public double getValue(int xIndex,
 int yIndex)

initializeDensity

public void initializeDensity(int xIndex,
 int yIndex,
 double initialDensity)

setDensity

public void setDensity(int xIndex,
 int yIndex,
 double newValue)

reset

public void reset()
Specified by:
reset in interface DensityMapDataStorage