How tewatia5355/topsis_tewatia works
Topsis_Tewatia is a small command-line TOPSIS package. The user supplies a CSV decision matrix, criterion weights, and benefit/cost impacts; the command validates inputs, normalizes the criteria, selects positive and negative ideal values, scores and ranks alternatives, then writes an output CSV. The README documents the input and output formats; source excerpts show the calculation stages and file handling. This is a single-file runtime, so the graph focuses on its actual workflow rather than delivery machinery.
Main entry points: topsis.py CLI validation
Components 8
Command workflow
- CLI validation
Topsis_Tewatia/topsis.py - Decision CSV
- Input preparation
Topsis_Tewatia/topsis.py - Ranked CSV
TOPSIS calculation
- Normalize criteria
Topsis_Tewatia/topsis.py - Ideal solutions
Topsis_Tewatia/topsis.py - Score and rank
Topsis_Tewatia/topsis.py
Other components
- User
Connections 9
- User → CLI validation: provides arguments
README.md - User → Decision CSV: provides matrix
README.md - CLI validation → Decision CSV: reads CSV
Topsis_Tewatia/topsis.py - CLI validation → Input preparation: validates and prepares
Topsis_Tewatia/topsis.py - Input preparation → Normalize criteria: passes matrix and weights
Topsis_Tewatia/topsis.py - Normalize criteria → Ideal solutions: passes normalized values
Topsis_Tewatia/topsis.py - Ideal solutions → Score and rank: passes ideal values
Topsis_Tewatia/topsis.py - Score and rank → Ranked CSV: writes scores and ranks
Topsis_Tewatia/topsis.py - User → Ranked CSV: receives result
README.md