Polarith AI
1.8

◆ Initialize() [1/2]

void Initialize ( IList< AIMEnvironment environments)

Initializes the grid structure based on the currently known environments .

The actual size in memory is based on the fields CellCountX, CellCountY and CellCountZ. These sizes must be positive numbers and at least 1. 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.
Exceptions
NullReferenceExceptionIf environments is null.
Imprint