MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / insert

Method insert

code/data-structures/kd_tree.test.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void insert(const point &p) {
41 pts.insert(p);
42 }
43
44 pair<point, bool> nearest_neighbour(const point &p, bool allow_same = true) {
45 double mn = INFINITY;

Callers 2

naive_kd_treeMethod · 0.45
testFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected