How sun7ren/kka-fp works
KKA-FP is a command-line house-district search tool that ranks Surabaya districts using distance, house price, and crime rate. The user supplies a target location, criterion weights, and limits; each standalone script loads the district data, searches eligible districts using its own algorithm, and prints a recommendation and performance metrics. The README also describes a simulated-annealing variant, whose script additionally appends results to a log file. The graph reflects the shown script-level workflows; the three implementations are alternatives, not a shared pipeline.
Main entry points: sa.py Simulated Annealing · Uninformed_UCS.py Uniform-Cost Search · aStar.py A* Search · District_Data.csv District Records
Components 7
District Data
- District Records
District_Data.csv
Search Alternatives
- Uniform-Cost Search
Uninformed_UCS.py - A* Search
aStar.py - Simulated Annealing
sa.py
Results
- Recommendation Output
- Results Log
Other components
- House Seeker
Connections 10
- House Seeker → Uniform-Cost Search: provides criteria
Uninformed_UCS.py - House Seeker → A* Search: provides criteria
aStar.py - House Seeker → Simulated Annealing: provides criteria
sa.py - Uniform-Cost Search → District Records: loads records
Uninformed_UCS.py - A* Search → District Records: loads records
aStar.py - Simulated Annealing → District Records: loads records
sa.py - Uniform-Cost Search → Recommendation Output: prints ranking
Uninformed_UCS.py - A* Search → Recommendation Output: prints ranking
aStar.py - Simulated Annealing → Recommendation Output: prints ranking
sa.py - Simulated Annealing → Results Log: appends result
sa.py