AnyLogic
Expand
Font size
All Implemented Interfaces:
DensityMapDataStorage, Serializable

@AnyLogicInternalAPI
public class DensityMapNetworkDataStorage
extends AbstractDensityMapDataStorage
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
DensityMapNetworkDataStorage(Agent owner, Set<DensityMapCompatibleNetwork> networks, DensityMapDisplayedValue vType, DensityMapAttenuationType aType, double window, double t0) 

Method Summary

Methods inherited from class com.anylogic.engine.markup.density_map.AbstractDensityMapDataStorage

getAttenuationType, getDisplayedValueType, reset, setAttenuationType, setWindow

Methods inherited from class java.lang.Object

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

Constructor Details

DensityMapNetworkDataStorage

public DensityMapNetworkDataStorage(Agent owner,
 Set<DensityMapCompatibleNetwork> networks,
 DensityMapDisplayedValue vType,
 DensityMapAttenuationType aType,
 double window,
 double t0)

Method Details

contains

public boolean contains(DensityMapCompatibleNetworkElement element)

setDensity

public void setDensity(DensityMapCompatibleNetworkElement networkElement,
 double newValue)

getValue

public double getValue(DensityMapCompatibleNetworkElement networkElement)

getCurrentDensity

public double getCurrentDensity(DensityMapCompatibleNetworkElement networkElement)

initializeDensity

public void initializeDensity(DensityMapCompatibleNetworkElement element,
 double initialDensity)

getWindowValue

public double getWindowValue(DensityMapCompatibleNetworkElement networkElement,
 DensityMapDisplayedValue val)

getCompleteValue

public double getCompleteValue(DensityMapCompatibleNetworkElement networkElement,
 DensityMapDisplayedValue val)

clearDensity

public void clearDensity(DensityMapCompatibleNetworkElement networkElement)

entrySet

public Set<Map.Entry<DensityMapCompatibleNetworkElement,DensityMapData>> entrySet()