diff options
author | Arnur Nigmetov <a.nigmetov@gmail.com> | 2017-04-05 21:58:27 +0200 |
---|---|---|
committer | Arnur Nigmetov <a.nigmetov@gmail.com> | 2017-04-05 21:58:27 +0200 |
commit | 5cda650aa878a9b5929c65eb83f431e117d39811 (patch) | |
tree | 21504e49bdf716e8671b9bc1e18df4ba0c66be80 /geom_matching/wasserstein/src/auction_runner_gs.cpp | |
parent | 1607071fcd9d473eae295693fc97bee8c50d6a11 (diff) |
Remove duplicate points for Wasserstein-1
Diffstat (limited to 'geom_matching/wasserstein/src/auction_runner_gs.cpp')
-rw-r--r-- | geom_matching/wasserstein/src/auction_runner_gs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geom_matching/wasserstein/src/auction_runner_gs.cpp b/geom_matching/wasserstein/src/auction_runner_gs.cpp index 5865325..e568813 100644 --- a/geom_matching/wasserstein/src/auction_runner_gs.cpp +++ b/geom_matching/wasserstein/src/auction_runner_gs.cpp @@ -245,7 +245,7 @@ double AuctionRunnerGS::getDistanceToQthPowerInternal(void) auto pA = bidders[bIdx]; assert( 0 <= biddersToItems[bIdx] and biddersToItems[bIdx] < static_cast<int>(items.size()) ); auto pB = items[biddersToItems[bIdx]]; - std::cout << "pA = " << pA << ", pB = " << pB << ", pow(distLp(pA, pB, internal_p), wassersteinPower) = " << pow(distLp(pA, pB, internal_p), wassersteinPower) << ", dist = " << distLp(pA, pB, internal_p) << std::endl; + //std::cout << "pA = " << pA << ", pB = " << pB << ", pow(distLp(pA, pB, internal_p), wassersteinPower) = " << pow(distLp(pA, pB, internal_p), wassersteinPower) << ", dist = " << distLp(pA, pB, internal_p) << std::endl; result += pow(distLp(pA, pB, internal_p), wassersteinPower); } wassersteinCost = result; |