Add support for different initialization patterns #48
Labels
category: env
Related to the env subpackages
package: patch
Related to the patch implementation
type: feature
Improvement or additions to the code base
Current
patch
initialization will initialize cells starting from the center of the environment outward. We should support random and inward initialization. Random initialization will be useful for #40.Proposal:
patch
level parameter calledINITIALIZATION_STRATEGY
createLocations
method inPatchLocationFactory
to handle the different strategies:random
= shuffle the locations list onlyoutward
= shuffle the locations list, then sort by distance (the current implementation)inward
= shuffle the locations list, sort by distance, then reverse the listThe text was updated successfully, but these errors were encountered: