Examples
Examples
Try the starting example
- Applicants JSON [ID,minimum plot area m²,requires accessible plot 0/1] in chosen priority order
- [["A",8,1],["B",6,0],["C",10,0]]
- Existing plots JSON [ID,area m²,user-declared accessible 0/1]
- [["P1",10,1],["P2",8,0],["P3",6,0]]
- Available total garden area (m²)
- 30
- Applicant-to-plot assignment
- [["A","P1"],["B","P3"],["C","Unassigned"]]
- Unassigned plot IDs
- ["P2"]
- Total supplied plot area (m²)
- 24
- Area outside supplied plots (m²)
- 6
Try another scenario
- Applicants JSON [ID,minimum plot area m²,requires accessible plot 0/1] in chosen priority order
- [["A",8,1],["B",6,0],["C",8,0]]
- Existing plots JSON [ID,area m²,user-declared accessible 0/1]
- [["P1",10,1],["P2",8,0],["P3",6,0]]
- Available total garden area (m²)
- 30
- Applicant-to-plot assignment
- [["A","P1"],["B","P3"],["C","P2"]]
- Unassigned plot IDs
- []
- Total supplied plot area (m²)
- 24
- Area outside supplied plots (m²)
- 6
Calculation method
Calculation method
Applicant-to-plot assignment
In explicit applicant priority order, choose smallest-area remaining compatible plot; tie lexicographic plot ID.
Unassigned plot IDs
Plots not used by heuristic.
Total supplied plot area (m²)
Sum plot areas, validated <=availableArea.
Area outside supplied plots (m²)
availableArea-totalPlotArea.
Symbols and units
- a
- Applicants JSON [ID,minimum plot area m²,requires accessible plot 0/1] in chosen priority order
- b
- Existing plots JSON [ID,area m²,user-declared accessible 0/1]
- c
- Available total garden area (m²)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Assignment of already delineated plots, not subdivision or spatial layout. Accessibility is a supplied compatibility flag, not an assessment or legal standard. Priority order is user policy. Greedy assignment may miss another feasible matching. Supported limits: 1..100 applicants/plots; unique IDs; areas>0; flags 0/1; sum(plotAreas)<=availableArea.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.