Polarith AI
1.8

◆ Initialize() [2/2]

void Initialize ( IList< AIMEnvironment environments,
int  cellCountX,
int  cellCountY,
int  cellCountZ 
)

Initializes the grid structure based on the currently known environments and the specified sizes.

On initialization, the whole grid memory is (re-)allocated, which might cause GC for old grid data if there was any.

Parameters
environmentsA list containing all known AIMEnvironment instances.
cellCountXThe number of grid cells in x-direction.
cellCountYThe number of grid cells in y-direction.
cellCountZThe number of grid cells in z-direction.
Exceptions
NullReferenceExceptionIf environments is null.
Imprint