From 5d304d5720cd23ab9aa1179a147ae1e12ee17950 Mon Sep 17 00:00:00 2001 From: Arnur Nigmetov Date: Wed, 5 Jul 2017 10:01:51 -0700 Subject: Price adjustment; maxIterNum increased For high Wasserstein powers price adjustment (subtract minimal price) is needed. --- geom_matching/wasserstein/include/dnn/local/kd-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geom_matching/wasserstein/include/dnn/local/kd-tree.h') 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 -- cgit v1.2.3