Class EMSC24StochasticLanguageAdapter<T>
- java.lang.Object
-
- org.processmining.poemsconformancecheckingforbpmn.models.stochastic.language.trace.EMSC24StochasticLanguageAdapter<T>
-
- All Implemented Interfaces:
org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<T>
public class EMSC24StochasticLanguageAdapter<T> extends java.lang.Object implements org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<T>
-
-
Constructor Summary
Constructors Constructor Description EMSC24StochasticLanguageAdapter(org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.Activity2IndexKey activity2IndexKey, java.util.ArrayList<int[]> traces, double[] probabilities)
-
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 i)Get a trace.java.lang.StringgetTraceString(int i)Get a string representation of a trace.org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticTraceIterator<T>iterator()The iterator must be stable.intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<T>
-
getTrace
public int[] getTrace(int i)
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageGet a trace.- Specified by:
getTracein interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<T>- Returns:
-
getTraceString
public java.lang.String getTraceString(int i)
Description copied from interface:org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguageGet a string representation of a trace.- Specified by:
getTraceStringin interfaceorg.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<T>- Returns:
-
iterator
public org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticTraceIterator<T> 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<T>
-
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<T>- Returns:
-
-