SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
GageAssignment::ClusterKey Struct Reference

A canonical, integer-valued summary of one weight vector. More...

#include <gageassignment.h>

Collaboration diagram for GageAssignment::ClusterKey:

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.
 

Detailed Description

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.

Member Function Documentation

◆ isEmpty()

bool GageAssignment::ClusterKey::isEmpty ( ) const
inline

Member Data Documentation

◆ serialized

QString GageAssignment::ClusterKey::serialized

"3:57|7:29|11:14"; "" when empty.

◆ terms

QVector<QPair<int, long long> > GageAssignment::ClusterKey::terms

(gage index, quantum), sorted by index.


The documentation for this struct was generated from the following file: