Class ATSFactory


  • public class ATSFactory
    extends java.lang.Object
    Class used to create annotated transition systems
    Author:
    abolt
    • Constructor Summary

      Constructors 
      Constructor Description
      ATSFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static weka.core.Instances buildInstances​(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, java.lang.String classAttribute, int instanceNum)
      Creates a set of instances (weka) that can be used to build a classifier
      static AnnotatedTransitionSystemImpl createATS​(org.processmining.framework.plugin.PluginContext context, EventTranslator et, org.deckfour.xes.model.XLog log)
      Method to create an annotated transition system based on selected event attributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ATSFactory

        public ATSFactory()
    • Method Detail

      • createATS

        public static AnnotatedTransitionSystemImpl createATS​(org.processmining.framework.plugin.PluginContext context,
                                                              EventTranslator et,
                                                              org.deckfour.xes.model.XLog log)
        Method to create an annotated transition system based on selected event attributes.
        Parameters:
        context -
        et - (provides the mappings between events and elements of the transition system)
        log - (This log will be enriched, make sure that you give this method a clone and not the original)
        attributes - (only these will be used as annotations, besides the standards)
        Returns:
        ATS
      • buildInstances

        public static weka.core.Instances buildInstances​(AnnotationElementXEvent annotationEvents,
                                                         java.util.List<java.lang.String> attributes,
                                                         java.lang.String classAttribute,
                                                         int instanceNum)
        Creates a set of instances (weka) that can be used to build a classifier
        Parameters:
        ats -
        tsElement -
        attributes - The last element in this list is the class attribute
        instanceNum -
        Returns: