Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
For high Wasserstein powers price adjustment (subtract minimal price) is
needed.
|
|
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.
|
|
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.
|
|
|