Class GraphEditDistanceSimilarityProcessHeuristic<D extends org.processmining.models.graphbased.directed.DirectedGraph<?,​?>>

    • Method Detail

      • compute

        public double compute​(D sg1,
                              D sg2)
        Computes the edit distance between the two SimpleGraph instances with which the object was instantiated. Precondition: the algorithm only returns a useful edit distance if the graphs both have at least one 'source node' (a node with no incoming arcs.) Otherwise, Double.MAX_VALUE is returned.
        Parameters:
        sg1 - A graph.
        sg2 - A graph.
        Returns:
        edit distance
      • bestMapping

        public java.util.Set<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.DirectedGraphNode,​org.processmining.models.graphbased.directed.DirectedGraphNode>> bestMapping()