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

Method Clusterizer

outdated/win/Qt3/qt3_clust.cpp:27–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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected