MCPcopy Create free account
hub / github.com/NetHack/NetHack / Clusterizer

Method Clusterizer

win/Qt/qt_clust.cpp:26–31  ·  view source on GitHub ↗

* A Clusterizer groups rectangles (QRects) into non-overlapping * rectangles by a merging heuristic. */

Source from the content-addressed store, hash-verified

24 * rectangles by a merging heuristic.
25 */
26Clusterizer::Clusterizer(int maxclusters) :
27 cluster(new QRect[maxclusters]),
28 count(0),
29 max(maxclusters)
30{
31}
32
33Clusterizer::~Clusterizer()
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected