Class StochasticLanguageWrapper
- java.lang.Object
-
- org.processmining.statisticaltests.StochasticLanguageWrapper
-
- All Implemented Interfaces:
org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
public class StochasticLanguageWrapper extends java.lang.Object implements org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
-
-
Constructor Summary
Constructors Constructor Description StochasticLanguageWrapper(org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> superLanguage, double[] newProbabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.Activity2IndexKeygetActivityKey()Return the key that can be used to get activity labels.int[]getTrace(int traceIndex)Get a trace.java.lang.StringgetTraceString(int traceIndex)Get a string representation of a trace.org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticTraceIterator<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>iterator()The iterator must be stable.intsize()
-
-
-
Constructor Detail
-
StochasticLanguageWrapper
public StochasticLanguageWrapper(org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> superLanguage, double[] newProbabilities)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
-
getTraceString
public java.lang.String getTraceString(int traceIndex)
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageGet a string representation of a trace.- Specified by:
getTraceStringin interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>- Returns:
-
getTrace
public int[] getTrace(int traceIndex)
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageGet a trace.- Specified by:
getTracein interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>- Returns:
-
iterator
public org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticTraceIterator<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder> iterator()
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageThe iterator must be stable. Do not use hashmap iterators.- Specified by:
iteratorin interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
-
getActivityKey
public org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.Activity2IndexKey getActivityKey()
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageReturn the key that can be used to get activity labels.- Specified by:
getActivityKeyin interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>- Returns:
-
-