Skip to content

Function discrete alloc sp

Jip Claassens edited this page Jul 6, 2026 · 5 revisions

Another simple version of the allocation functions. This function specifies a single partitioning for defining minimum and maximum claims.

sp = single partitioning

Its arguments are:

  • TypeNames: (LUT: Uint8)->ItemName, LandUnitDomain,
  • SuitabilityMaps: for each TypeNames { LandUnitDomain->Int32 },
  • Regions: UInt16 domain,
  • RegionMap: LandUnitDomain->Regions,
  • MinClaims: for each TypeNames { Regions -> UInt32 },
  • MaxClaims: for each TypeNames { Regions -> UInt32 },
  • Threshold: ->Int32

Clone this wiki locally