How kios-research/leakdb works
LeakDB is a water-distribution leakage benchmark: users can run MATLAB detection algorithms on Hanoi scenarios and evaluate their outputs, while Python generators create additional scenarios with synthetic demands, leaks, and simulation measurements. The graph keeps generation separate from the documented MATLAB example workflow. The README establishes the UI workflow, but main.m and the detection/scoring implementations were not sampled, so their detailed call wiring is uncertain.
Main entry points: Dataset_Generator/leakDataset.py Python scenario generator · Dataset_Generator_Py3/leakDataset.py Python 3 generator · main.m MATLAB interface · algorithmMNF.m MNF detector
Components 16
MATLAB Evaluation
- MATLAB interface
CCWI-WDSA2018/main.m - Scoring function
CCWI-WDSA2018/Scoring Function/scoring_algorithm.m - Evaluation result
Scenario Generation
- Python scenario generator
CCWI-WDSA2018/Dataset_Generator/leakDataset.py - Python 3 generator
CCWI-WDSA2018/Dataset_Generator_Py3/leakDataset.py - Demand patterns
CCWI-WDSA2018/Dataset_Generator_Py3/demandGenerator.py - WNTR simulator
Leak Detection
- MNF detector
CCWI-WDSA2018/Detection Algorithms/MNF/algorithmMNF.m - MNF labels
CCWI-WDSA2018/Detection Algorithms/MNF/createLabelsMNF.m - MNF scenario paths
CCWI-WDSA2018/Detection Algorithms/MNF/getPathsZip.m - NULL labels
CCWI-WDSA2018/Detection Algorithms/NULL/createLabelsNULL.m - RAND labels
CCWI-WDSA2018/Detection Algorithms/RAND/createLabelsRAND.m
Benchmark Data
- Network inputs
CCWI-WDSA2018/Dataset_Generator_Py3/networks - Scenario measurements
CCWI-WDSA2018/Benchmarks - Scenario labels
CCWI-WDSA2018/Detection Algorithm Results
Other components
- Benchmark user
Connections 20
- Benchmark user → MATLAB interface: runs
- MATLAB interface → MNF detector: selects detector
- MATLAB interface → NULL labels: selects detector
- MATLAB interface → RAND labels: selects detector
- MATLAB interface → Scoring function: evaluates results
- Scoring function → Scenario labels: reads labels
- Scoring function → Evaluation result: produces score
- MNF detector → MNF labels: creates labels
- MNF detector → MNF scenario paths: gets paths
- MNF detector → Scenario measurements: reads scenarios
- Python scenario generator → Network inputs: loads network
- Python 3 generator → Network inputs: loads network
- Python scenario generator → Demand patterns: generates demands
- Python 3 generator → Demand patterns: generates demands
- Python scenario generator → WNTR simulator: runs simulation
- Python 3 generator → WNTR simulator: runs simulation
- Python scenario generator → Scenario measurements: writes measurements
- Python scenario generator → Scenario labels: writes labels
- Python 3 generator → Scenario measurements: writes measurements
- Python 3 generator → Scenario labels: writes labels