Class DistanceMatrixTotalVsPartialCertainLevenshtein
- java.lang.Object
-
- org.processmining.earthmoversstochasticconformancechecking.distancematrix.DistanceMatrixAbstract<TotalOrder,PartialOrderCertain>
-
- org.processmining.earthmoversstochasticconformancechecking.distancematrix.DistanceMatrixTotalVsPartialCertainLevenshtein
-
- All Implemented Interfaces:
java.lang.Cloneable,DistanceMatrix<TotalOrder,PartialOrderCertain>
public class DistanceMatrixTotalVsPartialCertainLevenshtein extends DistanceMatrixAbstract<TotalOrder,PartialOrderCertain>
-
-
Constructor Summary
Constructors Constructor Description DistanceMatrixTotalVsPartialCertainLevenshtein()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TotalOrderPartialOrderStateaStar(AStarSetupTotalOrdervsPartialOrder setup, TotalOrderPartialOrderState start, DistanceMatrixThresholds thresholds)protected doublegetDistance(int[] totalOrderA, int[] partialOrderB, DistanceMatrixThresholds thresholds, org.processmining.framework.plugin.ProMCanceller canceller)protected doublegetDistance(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)A method that computes the actual distance.protected doublegetDistanceAStar(int[] totalOrderA, int[] partialOrderB, DistanceMatrixThresholds thresholds, org.processmining.framework.plugin.ProMCanceller canceller)protected doublegetDistanceExhaustive(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)protected doublegetDistanceTotalOrder(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)voidprocessStep(AStarSetupTotalOrdervsPartialOrder setup, java.util.Map<TotalOrderPartialOrderState,TotalOrderPartialOrderState> closedStates, HashBackedPriorityQueue<TotalOrderPartialOrderState> openStates, TotalOrderPartialOrderState source, TotalOrderPartialOrderState target, int edgeWeight)java.lang.StringstateSpace2GraphViz(java.util.PriorityQueue<TotalOrderPartialOrderState> openList, java.util.PriorityQueue<TotalOrderPartialOrderState> closedList)Helper method that creates a GraphViz .dot string for visualizing the state space-
Methods inherited from class org.processmining.earthmoversstochasticconformancechecking.distancematrix.DistanceMatrixAbstract
clone, getDistance, getDistances, init, thread
-
-
-
-
Method Detail
-
getDistance
protected double getDistance(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)Description copied from class:DistanceMatrixAbstractA method that computes the actual distance. Should be thread-safe.- Specified by:
getDistancein classDistanceMatrixAbstract<TotalOrder,PartialOrderCertain>- Returns:
-
getDistance
protected double getDistance(int[] totalOrderA, int[] partialOrderB, DistanceMatrixThresholds thresholds, org.processmining.framework.plugin.ProMCanceller canceller)
-
getDistanceTotalOrder
protected double getDistanceTotalOrder(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)
-
getDistanceExhaustive
protected double getDistanceExhaustive(int[] totalOrderA, int[] partialOrderB, org.processmining.framework.plugin.ProMCanceller canceller)
-
getDistanceAStar
protected double getDistanceAStar(int[] totalOrderA, int[] partialOrderB, DistanceMatrixThresholds thresholds, org.processmining.framework.plugin.ProMCanceller canceller)
-
aStar
public TotalOrderPartialOrderState aStar(AStarSetupTotalOrdervsPartialOrder setup, TotalOrderPartialOrderState start, DistanceMatrixThresholds thresholds)
-
processStep
public void processStep(AStarSetupTotalOrdervsPartialOrder setup, java.util.Map<TotalOrderPartialOrderState,TotalOrderPartialOrderState> closedStates, HashBackedPriorityQueue<TotalOrderPartialOrderState> openStates, TotalOrderPartialOrderState source, TotalOrderPartialOrderState target, int edgeWeight)
-
stateSpace2GraphViz
public java.lang.String stateSpace2GraphViz(java.util.PriorityQueue<TotalOrderPartialOrderState> openList, java.util.PriorityQueue<TotalOrderPartialOrderState> closedList)
Helper method that creates a GraphViz .dot string for visualizing the state space- Parameters:
openList- A* open listclosedList- A* closed list- Returns:
- GraphViz .dot string
-
-