summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/include/dnn/local/kd-tree.h
diff options
context:
space:
mode:
authorArnur Nigmetov <a.nigmetov@gmail.com>2017-07-05 10:01:51 -0700
committerArnur Nigmetov <a.nigmetov@gmail.com>2017-07-05 10:01:51 -0700
commit5d304d5720cd23ab9aa1179a147ae1e12ee17950 (patch)
tree163e239eb98823b1e36b6dd74c8bf09b3fb35543 /geom_matching/wasserstein/include/dnn/local/kd-tree.h
parent4cf869f64724d0f7e2e3a3c88bcc3da3a8e3b1a9 (diff)
Price adjustment; maxIterNum increased
For high Wasserstein powers price adjustment (subtract minimal price) is needed.
Diffstat (limited to 'geom_matching/wasserstein/include/dnn/local/kd-tree.h')
-rw-r--r--geom_matching/wasserstein/include/dnn/local/kd-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/geom_matching/wasserstein/include/dnn/local/kd-tree.h b/geom_matching/wasserstein/include/dnn/local/kd-tree.h
index 7e01072..13eaf27 100644
--- a/geom_matching/wasserstein/include/dnn/local/kd-tree.h
+++ b/geom_matching/wasserstein/include/dnn/local/kd-tree.h
@@ -49,7 +49,7 @@ namespace dnn
void init(const Range& range);
DistanceType weight(PointHandle p) { return weights_[indices_[p]]; }
- void increase_weight(PointHandle p, DistanceType w);
+ void change_weight(PointHandle p, DistanceType w);
HandleDistance find(PointHandle q) const;
Result findR(PointHandle q, DistanceType r) const; // all neighbors within r