Class PTraceExtendedAbstract

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int[] index2act  
      protected boolean[] isMove  
      • Fields inherited from class edu.uci.ics.jung.graph.DirectedSparseGraph

        edges, vertices
      • Fields inherited from class edu.uci.ics.jung.graph.AbstractTypedGraph

        edge_type
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addEvent​(int index, int act, boolean isVisible)  
      nl.tue.astar.util.PartiallyOrderedTrace getFilteredPTrace​(gnu.trove.map.TIntIntMap org2new, boolean sorted)
      Get a filtered po-trace in PartiallyOrderedTrace for A*-Alignment implementation
      nl.tue.astar.util.PartiallyOrderedTrace getOriginalPTrace()
      Get the unfiltered po-trace
      nl.tue.astar.util.PartiallyOrderedTrace getOriginalSortedPOrace()
      Get the sorted, unfiltered po-trace
      protected abstract nl.tue.astar.util.PartiallyOrderedTrace getPartiallyOrderedTrace​(gnu.trove.map.TIntIntMap org2new, boolean filterNoMoves, boolean sorted)  
      nl.tue.astar.util.PartiallyOrderedTrace getSortedPartiallyOrderedTrace​(nl.tue.astar.util.PartiallyOrderedTrace potrace, gnu.trove.map.TIntIntMap org2new)
      Get a sorted potrace and update the org2new mapping
      void setEventActivity​(java.lang.Integer eventIndex, int act, boolean b)  
      • Methods inherited from class edu.uci.ics.jung.graph.DirectedSparseGraph

        addEdge, addVertex, containsEdge, containsVertex, findEdge, findEdgeSet, getDest, getEdgeCount, getEdges, getEndpoints, getFactory, getIncidentEdges, getIncoming_internal, getInEdges, getNeighbors, getOutEdges, getOutgoing_internal, getPredecessors, getPreds_internal, getSource, getSuccessors, getSuccs_internal, getVertexCount, getVertices, isDest, isSource, removeEdge, removeVertex
      • Methods inherited from class edu.uci.ics.jung.graph.AbstractTypedGraph

        getDefaultEdgeType, getEdgeCount, getEdges, getEdgeType, hasEqualEdgeType, validateEdgeType
      • Methods inherited from class edu.uci.ics.jung.graph.AbstractGraph

        addEdge, addEdge, addEdge, addEdge, addEdge, degree, getIncidentCount, getIncidentVertices, getNeighborCount, getOpposite, getPredecessorCount, getSuccessorCount, getValidatedEndpoints, inDegree, isIncident, isNeighbor, isPredecessor, isSuccessor, outDegree
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface edu.uci.ics.jung.graph.Graph

        addEdge, addEdge, getOpposite, getPredecessorCount, getSuccessorCount, inDegree, isPredecessor, isSuccessor, outDegree
      • Methods inherited from interface edu.uci.ics.jung.graph.Hypergraph

        addEdge, addEdge, degree, getDefaultEdgeType, getEdgeCount, getEdges, getEdgeType, getIncidentCount, getIncidentVertices, getNeighborCount, isIncident, isNeighbor
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Field Detail

      • isMove

        protected boolean[] isMove
      • index2act

        protected int[] index2act
    • Constructor Detail

      • PTraceExtendedAbstract

        public PTraceExtendedAbstract​(org.deckfour.xes.model.XTrace trace,
                                      int traceIndex)
      • PTraceExtendedAbstract

        public PTraceExtendedAbstract​(PTrace ptrace)
    • Method Detail

      • addEvent

        public boolean addEvent​(int index,
                                int act,
                                boolean isVisible)
      • setEventActivity

        public void setEventActivity​(java.lang.Integer eventIndex,
                                     int act,
                                     boolean b)
        Specified by:
        setEventActivity in interface PTraceExtended
      • getFilteredPTrace

        public nl.tue.astar.util.PartiallyOrderedTrace getFilteredPTrace​(gnu.trove.map.TIntIntMap org2new,
                                                                         boolean sorted)
        Get a filtered po-trace in PartiallyOrderedTrace for A*-Alignment implementation
        Specified by:
        getFilteredPTrace in interface PTraceExtended
        Parameters:
        org2new - A (empty) map that is going to be filled in this function from the original index of an event to the new index in the returned po-trace
        sorted - If true, then sort the to-be-returned po-trace (for better comparison)
        Returns:
        A po-trace.
      • getPartiallyOrderedTrace

        protected abstract nl.tue.astar.util.PartiallyOrderedTrace getPartiallyOrderedTrace​(gnu.trove.map.TIntIntMap org2new,
                                                                                            boolean filterNoMoves,
                                                                                            boolean sorted)
      • getSortedPartiallyOrderedTrace

        public nl.tue.astar.util.PartiallyOrderedTrace getSortedPartiallyOrderedTrace​(nl.tue.astar.util.PartiallyOrderedTrace potrace,
                                                                                      gnu.trove.map.TIntIntMap org2new)
        Get a sorted potrace and update the org2new mapping
        Parameters:
        potrace - The po-trace to be sorted and returned as a sorted potrace
        org2new - The mapping from original event index to new index in potrace (updated)
        Returns:
      • getOriginalPTrace

        public nl.tue.astar.util.PartiallyOrderedTrace getOriginalPTrace()
        Get the unfiltered po-trace
        Specified by:
        getOriginalPTrace in interface PTraceExtended
        Returns:
        a po-trace
      • getOriginalSortedPOrace

        public nl.tue.astar.util.PartiallyOrderedTrace getOriginalSortedPOrace()
        Get the sorted, unfiltered po-trace
        Returns:
        a po-trace