Package HAL.GridsAndAgents
Class PopulationGrid1D
- java.lang.Object
-
- HAL.GridsAndAgents.PopulationGridBase
-
- HAL.GridsAndAgents.PopulationGrid1D
-
- All Implemented Interfaces:
Grid1D
,java.lang.Iterable<java.lang.Integer>
public class PopulationGrid1D extends PopulationGridBase implements Grid1D
-
-
Field Summary
-
Fields inherited from class HAL.GridsAndAgents.PopulationGridBase
usingSparseIndices
-
-
Constructor Summary
Constructors Constructor Description PopulationGrid1D(int xDim)
PopulationGrid1D(int xDim, boolean wrapX)
-
Method Summary
Modifier and Type Method Description void
Diffusion(double diffRate, MultinomialCalc mn)
boolean
IsWrapX()
int
Length()
int
Xdim()
-
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.Grid1D
ApplyHood, ApplyHoodMapped, ApplyRectangle, ContainsValidI, DispX, Dist, DistSquared, GetHoodI, In, In, InWrap, InWrap, MapHood, MapHood, MapXpt, MapXsq, RandomHoodI, WrapI
-
-