![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
A canonical, integer-valued summary of one weight vector. More...
#include <gageassignment.h>
Public Member Functions | |
| bool | isEmpty () const |
Public Attributes | |
| QVector< QPair< int, long long > > | terms |
| (gage index, quantum), sorted by index. | |
| QString | serialized |
| "3:57|7:29|11:14"; "" when empty. | |
A canonical, integer-valued summary of one weight vector.
Two subcatchments share a generated gage exactly when their keys compare equal. Quantisation makes the comparison integral, so no floating-point tolerance leaks into the grouping.
|
inline |
| QString GageAssignment::ClusterKey::serialized |
"3:57|7:29|11:14"; "" when empty.
| QVector<QPair<int, long long> > GageAssignment::ClusterKey::terms |
(gage index, quantum), sorted by index.