Class LogLogUnknownProcessTest
- java.lang.Object
-
- org.processmining.statisticaltests.loglogunknownprocesstest.LogLogUnknownProcessTest
-
- All Implemented Interfaces:
StatisticalTest<org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog>,LogLogUnknownProcessTestParameters>
public class LogLogUnknownProcessTest extends java.lang.Object implements StatisticalTest<org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog>,LogLogUnknownProcessTestParameters>
-
-
Field Summary
Fields Modifier and Type Field Description intsampleSize
-
Constructor Summary
Constructors Constructor Description LogLogUnknownProcessTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static doublep(LogLogUnknownProcessTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, double[] sampleDistances, com.google.common.util.concurrent.AtomicDouble distanceAB, org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> languageA, org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> languageB, int sampleSize, org.processmining.framework.plugin.Progress progress)booleanrejectHypothesisForSingleTest(LogLogUnknownProcessTestParameters parameters, double p)No side effects allowed.doubletest(org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog> input, LogLogUnknownProcessTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, org.processmining.framework.plugin.Progress progress)Perform the test.
-
-
-
Method Detail
-
rejectHypothesisForSingleTest
public boolean rejectHypothesisForSingleTest(LogLogUnknownProcessTestParameters parameters, double p)
Description copied from interface:StatisticalTestNo side effects allowed.- Specified by:
rejectHypothesisForSingleTestin interfaceStatisticalTest<org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog>,LogLogUnknownProcessTestParameters>- Returns:
- true: reject null-hypothesis; false: do not reject null-hypothesis
-
test
public double test(org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog> input, LogLogUnknownProcessTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, org.processmining.framework.plugin.Progress progress) throws java.lang.InterruptedExceptionDescription copied from interface:StatisticalTestPerform the test. No side effects allowed.- Specified by:
testin interfaceStatisticalTest<org.processmining.plugins.InductiveMiner.Pair<org.deckfour.xes.model.XLog,org.deckfour.xes.model.XLog>,LogLogUnknownProcessTestParameters>canceller- may not be nullprogress- may be null- Returns:
- the p-value of the test (confirm with rejectHypothesisForSingleTest whether hypothesis is rejected), Double.NaN if the test failed.
- Throws:
java.lang.InterruptedException
-
p
public static double p(LogLogUnknownProcessTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, double[] sampleDistances, com.google.common.util.concurrent.AtomicDouble distanceAB, org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> languageA, org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> languageB, int sampleSize, org.processmining.framework.plugin.Progress progress) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-