summaryrefslogtreecommitdiff
path: root/geom_matching/wasserstein/include/auction_runner_gs.h
AgeCommit message (Collapse)Author
2019-02-06Switch to opts, tolerate max-iterations-exceeded.Arnur Nigmetov
1. Use opts.h for command-line parsing in wasserstein_dist. 2. Real relative error at the end of auction is stored in params, params is passed by reference. 3. If -e command line option is given to wasserstein_dist, relative error will be printed. 4. If -t option is given to wasserstein_dist, no exception will be thrown, if maximum number of iterations is exceeded. 5. Run wasserstein_dist -h to see all options.
2018-01-20Major rewrite, templatized versionArnur Nigmetov
2017-07-05Price adjustment; maxIterNum increasedArnur Nigmetov
For high Wasserstein powers price adjustment (subtract minimal price) is needed.
2017-04-04Prepare to output real relative error.Arnur Nigmetov
In Wasserstein distance computation AuctionRunner class now has a field relativeError which contains the relative error which we can guarantee, so if the user asked for 0.1 accuracy, but the result is 0.03 accurate, this information can be retrieved.
2016-09-05Technical changes for R integrationArnur Nigmetov
Avoid including iostream (R complains about that). All output protected by preprocessor directive (R checker should not see an instance of std::cout << in your code). Also added getWassersteinCost to be in line with the Dionysus implementation used in TDA.
2016-06-06Add actual source from previous reposArnur Nigmetov