Closed jonadsimon closed 2 years ago
Maybe possible to do this using broader set of annotations shown here https://www.minizinc.org/doc-2.5.5/en/lib-stdlib.html?highlight=occurrence#search-annotations
Another option: when generating the code, manually alternate (with randomness?) between smallest/largest.
Write out some specific cases to clarify the situation mentally.
Tried a number of variants RE orientation, they all just made things worse.
Figure out how to prioritize horizontal/vertical orientations over diagonal orientations
Can maybe add an analogous remapper to loops through the directions appropriately
Barring this, consider randomizing the directions so that horizontal orientations aren't implicitly prioritized