Package HAL.GridsAndAgents
Class PopulationGrid2DLong
- java.lang.Object
-
- HAL.GridsAndAgents.PopulationGridLongBase
-
- HAL.GridsAndAgents.PopulationGrid2DLong
-
- All Implemented Interfaces:
Grid2D
,java.lang.Iterable<java.lang.Integer>
public class PopulationGrid2DLong extends PopulationGridLongBase implements Grid2D
-
-
Field Summary
-
Fields inherited from class HAL.GridsAndAgents.PopulationGridLongBase
length, usingSparseIndices
-
-
Constructor Summary
Constructors Constructor Description PopulationGrid2DLong(int xDim, int yDim)
PopulationGrid2DLong(int xDim, int yDim, boolean wrapX, boolean wrapY)
-
Method Summary
-
Methods inherited from class HAL.GridsAndAgents.PopulationGridLongBase
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.Grid2D
AlongLineIs, ApplyHood, ApplyHood, ApplyHoodMapped, ApplyRectangle, BoundaryIs, ContainsValidI, ContainsValidI, DispX, DispY, Dist, DistSquared, GetHoodI, I, I, In, In, InWrap, ItoX, ItoY, MapHood, MapHood, MapHood, MapHood, MapI, MapXpt, MapXsq, MapYpt, MapYsq, RandomHoodI, WrapI
-
-
-
-
Method Detail
-
Get
public long Get(int x, int y)
-
Set
public void Set(int x, int y, long val)
-
Add
public void Add(int x, int y, long val)
-
Diffusion
public void Diffusion(double diffRate, MultinomialCalcLong mn)
-
-