Package HAL.GridsAndAgents
Class PopulationGrid3D
- java.lang.Object
-
- HAL.GridsAndAgents.PopulationGridBase
-
- HAL.GridsAndAgents.PopulationGrid3D
-
- All Implemented Interfaces:
Grid3D
,java.lang.Iterable<java.lang.Integer>
public class PopulationGrid3D extends PopulationGridBase implements Grid3D
-
-
Field Summary
Fields Modifier and Type Field Description boolean
wrapX
boolean
wrapY
boolean
wrapZ
int
xDim
int
yDim
int
zDim
-
Fields inherited from class HAL.GridsAndAgents.PopulationGridBase
length, usingSparseIndices
-
-
Constructor Summary
Constructors Constructor Description PopulationGrid3D(int xDim, int yDim, int zDim)
PopulationGrid3D(int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ)
-
Method Summary
-
Methods inherited from class HAL.GridsAndAgents.PopulationGridBase
Add, AddTo, AddTo, ApplyOccupied, CopyTo, CopyTo, Get, iterator, OccupiedArea, Pop, Set, SetAll, SetupSparseIndices, Update, UpdateCt
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface HAL.Interfaces.Grid3D
ApplyHood, ApplyHood, ApplyHoodMapped, ApplyRectangle, BoundaryIs, ContainsValidI, ContainsValidI, ConvI, ConvXpt, ConvXsq, ConvYpt, ConvYsq, ConvZpt, ConvZsq, DispX, DispY, DispZ, Dist, DistSquared, GetHoodI, I, I, In, In, InWrap, InWrap, ItoX, ItoY, ItoZ, MapHood, MapHood, MapHood, MapHood, RandomHoodI, WrapI
-
-
-
-
Method Detail
-
Get
public int Get(int x, int y, int z)
-
Add
public void Add(int x, int y, int z, int val)
-
Set
public void Set(int x, int y, int z, int val)
-
Diffusion
public void Diffusion(double diffRate, MultinomialCalc mn)
-
-