Class 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.Activity2IndexKey getActivityKey()
      Return the key that can be used to get activity labels.
      int[] getTrace​(int traceIndex)
      Get a trace.
      java.lang.String getTraceString​(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.
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        size in interface org.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.StochasticLanguage
        Get a string representation of a trace.
        Specified by:
        getTraceString in interface org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
        Returns:
      • getTrace

        public int[] getTrace​(int traceIndex)
        Description copied from interface: org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage
        Get a trace.
        Specified by:
        getTrace in interface org.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.StochasticLanguage
        The iterator must be stable. Do not use hashmap iterators.
        Specified by:
        iterator in interface org.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.StochasticLanguage
        Return the key that can be used to get activity labels.
        Specified by:
        getActivityKey in interface org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.StochasticLanguage<org.processmining.earthmoversstochasticconformancechecking.stochasticlanguage.TotalOrder>
        Returns: