="block">Utility: Generates all possible districts of the
 specified size from a given region.
 If the region is smaller than the specified size,
 then a single district is returned.
 Otherwise, a set is created that contains all
 districts of the specified size.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>theRegion</code> - the region</dd>
<dd><code>districtSize</code> - the size of the districts</dd>
<dt>Returns:</dt>
<dd>a set of all districts of the specified size</dd>
</dl>
</div>
</section