  In this work we define a metric structure for functions defined on merge
trees. The metric introduced possesses some stability properties and can be
computed with a dynamical integer linear programming approach. We showcase the
effectiveness of the whole framework with simulated data sets. Using functions
defined on merge trees proves to be very effective in situation where other
topological data analysis tools, like persistence diagrams, can not be
meaningfully employed.
