AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalAPI
public class DensityMapData
extends Object
implements Serializable
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
DensityMapData() 
DensityMapData(double density, boolean floatingWindow, double windowSec, double t0, double dt0) 

Method Summary

Modifier and TypeMethodDescription
doublecurrentDensity() 
doublegetCompleteMax() 
doublegetCompleteMean(Agent owner, double t0) 
static doublegetValueWindow(DensityMapData data, DensityMapDisplayedValue vType, double window, Agent owner) 
doublegetValueWindow(DensityMapDisplayedValue vType, double window, Agent owner) 
voidinitialize(double density, boolean floatingWindow, double windowSec, double t0, double dt0) 
voidlinearAttenuation(double deltaDensity) 
voidresetFull(double currentTime) 
voidsetDensityComplete(double newValue, Agent owner, double t0) 
static voidsetDensityComplete(DensityMapData data, double newValue, Agent owner, double t0) 
voidsetDensityWindow(Agent owner, double newValue, double window) 
static voidsetDensityWindow(DensityMapData data, Agent owner, double newValue, double window) 

Methods inherited from class java.lang.Object

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

Constructor Details

DensityMapData

public DensityMapData()

DensityMapData

public DensityMapData(double density,
 boolean floatingWindow,
 double windowSec,
 double t0,
 double dt0)

Method Details

initialize

public void initialize(double density,
 boolean floatingWindow,
 double windowSec,
 double t0,
 double dt0)

currentDensity

public double currentDensity()

getCompleteMax

public double getCompleteMax()

getCompleteMean

public double getCompleteMean(Agent owner,
 double t0)

linearAttenuation

public void linearAttenuation(double deltaDensity)

resetFull

public void resetFull(double currentTime)

setDensityComplete

public void setDensityComplete(double newValue,
 Agent owner,
 double t0)

setDensityComplete

public static void setDensityComplete(DensityMapData data,
 double newValue,
 Agent owner,
 double t0)

setDensityWindow

public void setDensityWindow(Agent owner,
 double newValue,
 double window)

setDensityWindow

public static void setDensityWindow(DensityMapData data,
 Agent owner,
 double newValue,
 double window)

getValueWindow

public double getValueWindow(DensityMapDisplayedValue vType,
 double window,
 Agent owner)

getValueWindow

public static double getValueWindow(DensityMapData data,
 DensityMapDisplayedValue vType,
 double window,
 Agent owner)