topology-tool-kit / ttk

TTK - Topological Data Analysis and Visualization - Source Code
https://topology-tool-kit.github.io/
Other
406 stars 120 forks source link

[WIP] Path Mapping Barycenters #1025

Open floWetzels opened 2 months ago

floWetzels commented 2 months ago

This PR adds the path mapping distance to the MergeTreeBarycenter, MergeTreeClustering and MergeTreeTemporalReduction modules. Furthermore, the PlanarGraphLayout has been adapted to also enable a "path based layout" for merge trees. It also contains some bug fixes, additions and minor refactorings for other modules related to merge tree edit distances, e.g. when using BDIEDs in MergeTreeDistanceMatrix, it is now possible to apply the preprocessing steps also available for other distances.

In essence, this PR adds the code for the VIS23 paper "Merge Tree Geodesics and Barycenters with Path Mappings" and further related adaptations.

Some further changes are still pending and will be added by @MatPont soon. So please don't merge until they are finished.

An accompanying ttk-data PR will come soon, too.

julien-tierny commented 2 months ago

Wonderful, thanks a lot Florian! Could you please:

floWetzels commented 2 months ago

Yes, I'm on it!

floWetzels commented 2 months ago

@julien-tierny If the CI runs through, please remember to wait for the remaining changes by @MatPont to be pushed before merging into dev. I'm working on the ttk-data example.

floWetzels commented 2 months ago

I created the accompanying ttk-data PR: https://github.com/topology-tool-kit/ttk-data/pull/162

julien-tierny commented 2 weeks ago

work in progress, see https://github.com/topology-tool-kit/ttk-data/pull/162