Class BuildTree
- java.lang.Object
-
- org.processmining.earthmoversstochasticconformancechecking.reallocationmatrix.epsa.BuildTree
-
public class BuildTree extends java.lang.ObjectUtility class that builds the dual feasible AKP initial tree from a given instance.- Author:
- brockhoff
-
-
Constructor Summary
Constructors Constructor Description BuildTree()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InitTreeArrayStructbuildTreeArray(int cSrc, int cTar, float[] sizeHill, float[] sizeHole, DistanceMatrix cost)Build an array instance of the initial tree.
-
-
-
Method Detail
-
buildTreeArray
public static InitTreeArrayStruct buildTreeArray(int cSrc, int cTar, float[] sizeHill, float[] sizeHole, DistanceMatrix cost)
Build an array instance of the initial tree. See {@see Tree}.- Parameters:
cSrc- Number of sourcescTar- Number of targetssizeHill- Amount of earth at the sourcessizeHole- Size of the holes (NEGATIVE)cost- Cost matrix (source,target)- Returns:
- struct containing the tree and deficit/surplus subtrees(roots)
-
-