summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-15Update README, BSD license only.Arnur Nigmetov
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-06-21Bug in longest edge for negative persistence fixedArnur Nigmetov
2018-06-19Template bug fixedArnur Nigmetov
2018-06-19Longest edge for bottleneck, tests for bottleneckArnur Nigmetov
2018-06-03First tests addedArnur Nigmetov
Preparation for longest edge computation.
2018-06-03Add const qualifierArnur Nigmetov
2018-06-01First trivial test for point cloud versionArnur Nigmetov
2018-05-312 bugs fixed in Jacobi for point cloudArnur Nigmetov
2018-05-31Fix bug in point cloud version.Arnur Nigmetov
internal_p was not respected by DynamicPointTraits, l_2 distance was always used.
2018-05-19Add inline qualifier to Wasserstein code.Arnur Nigmetov
To avoid linking problems.
2018-05-19Points at infinity handled correctly.Arnur Nigmetov
1. Reader copied from wasserstein code, can parse inf, moved to hera namespace. 2. addProjections removes points at infinity. 3. Points at infinity handled separately by getInfinityCost().
2018-05-15Fixed iterator arithmetic for small diagsArnur Nigmetov
2018-03-16Minor changes (indentation, etc)Arnur Nigmetov
2018-03-16Test cases for the DIPHA input reader.Gard Spreemann
2018-03-15Support for reading persistence diagrams in the DIPHA format.Gard Spreemann
2018-03-06Points with 0 persistence ignored in the inputArnur Nigmetov
2018-01-25Fix for inf-only diagramsArnur Nigmetov
2018-01-20Major rewrite, templatized versionArnur Nigmetov
2017-07-19Include cmath instead of math.hArnur Nigmetov
2017-07-05Price adjustment; maxIterNum increasedArnur Nigmetov
For high Wasserstein powers price adjustment (subtract minimal price) is needed.
2017-04-26More debug outputArnur Nigmetov
2017-04-26More debug outputArnur Nigmetov
2017-04-24Some more debug outputArnur Nigmetov
2017-04-24Lots of debug output for sampling heuristicArnur Nigmetov
To fix a problem on Mac OS.
2017-04-24Verbose timing for bottleneck addedArnur Nigmetov
Timing info is printed, if VERBOSE_BOTTLENECK is #defined in def_debug_bt.h.
2017-04-24Debug output suppressedArnur Nigmetov
2017-04-24Empty diagram bug for Wasserstein fixedArnur Nigmetov
2017-04-14Bug in Wasserstein fixed: internal_p not passed to kd-treeArnur Nigmetov
2017-04-06Minor changesArnur Nigmetov
2017-04-06Heuristic for bottleneck: estimate on sampled diagramArnur Nigmetov
Sample input diagrams and use the distance between samples as initial guess in binary search. Relevant variables: bottleneck_dist.cpp:10 useSamplingHeur (if false, heuristic is never applied) bottleneck_dist.cpp:11 heurThreshold (heuristic is not applid to diagrams with fewer points) TODO: add command-line parameters instead Sampling strategy: sort points by multiplicity, set cutting value to be the multiplicity where the increase of the next one is maximal and only keep points whose multiplicity is less then the cutting value
2017-04-05Remove duplicate points for Wasserstein-1Arnur Nigmetov
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.
2017-04-04README edited: relative_error clarifiedArnur Nigmetov
2017-03-05Bug in exact version of bottleneck fixed"Arnur Nigmetov
Allow for machine arithmetic errors when searching for candidates for distance (increase the width of the stripes slightly).
2017-02-22Warning for zero persistence pointsArnur Nigmetov
2017-02-22temporary fix for exact version from filesArnur Nigmetov
2016-11-09Ignore zero persistence in the inputArnur Nigmetov
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-07-18Rename def_debug.h to def_debug_ws.hArnur Nigmetov
2016-07-18Rename def_debug.h to def_debug_bt.hArnur Nigmetov
2016-06-16Merge branch 'master' of bitbucket.org:grey_narn/heraArnur Nigmetov
2016-06-16Add missing CMakeLists and licence.txt, edit .gitignoreArnur Nigmetov
2016-06-06README.txt edited online with Bitbucketmkerber
2016-06-06README.txt edited online with BitbucketArnur Nigmetov
2016-06-06README.txt edited online with BitbucketArnur Nigmetov
2016-06-06Add actual source from previous reposArnur Nigmetov
2016-06-06Initial commit - READMEArnur Nigmetov