Interface Dfg

    • Method Detail

      • addActivity

        int addActivity​(org.deckfour.xes.classification.XEventClass activity)
        Adds an activity to the Dfg.
        Parameters:
        activity -
        Returns:
        The index of the inserted activity.
      • getActivityIndices

        int[] getActivityIndices()
      • getConcurrencyGraph

        @Deprecated
        Graph<org.deckfour.xes.classification.XEventClass> getConcurrencyGraph()
        Deprecated.
        Specified by:
        getConcurrencyGraph in interface NormalisedIntDfg
        Returns:
        The concurrency graph. Do not edit directly.
      • addDirectlyFollowsEdge

        void addDirectlyFollowsEdge​(org.deckfour.xes.classification.XEventClass source,
                                    org.deckfour.xes.classification.XEventClass target,
                                    long cardinality)
      • addParallelEdge

        void addParallelEdge​(org.deckfour.xes.classification.XEventClass a,
                             org.deckfour.xes.classification.XEventClass b,
                             long cardinality)
      • addStartActivity

        void addStartActivity​(org.deckfour.xes.classification.XEventClass activity,
                              long cardinality)
      • addEndActivity

        void addEndActivity​(org.deckfour.xes.classification.XEventClass activity,
                            long cardinality)
      • collapseParallelIntoDirectly

        void collapseParallelIntoDirectly()
        Adds a directly follows graph edge (in each direction) for each parallel edge.
        Specified by:
        collapseParallelIntoDirectly in interface NormalisedIntDfg
      • getIndexOfActivity

        int getIndexOfActivity​(org.deckfour.xes.classification.XEventClass activity)
        Parameters:
        activity -
        Returns:
        The index of the given activity, or -1 if it does not exist.
      • getActivityOfIndex

        org.deckfour.xes.classification.XEventClass getActivityOfIndex​(int activityIndex)
        Parameters:
        activityIndex -
        Returns:
        The activity of the given index.
      • isStartActivity

        boolean isStartActivity​(org.deckfour.xes.classification.XEventClass activity)
        Parameters:
        activity -
        Returns:
        Whether the activity is a start activity. If possible, use the integer-variant.
      • getStartActivityCardinality

        long getStartActivityCardinality​(org.deckfour.xes.classification.XEventClass activity)
        Parameters:
        activity -
        Returns:
        How often the activity was a start activity. Use the integer variant if possible.
      • isEndActivity

        boolean isEndActivity​(org.deckfour.xes.classification.XEventClass activity)
        Parameters:
        activity -
        Returns:
        Whether the activity is a end activity. If possible, use the integer-variant.
      • getEndActivityCardinality

        long getEndActivityCardinality​(org.deckfour.xes.classification.XEventClass activity)
        Parameters:
        activity -
        Returns:
        How often the activity was an end activity. Use the integer variant if possible.
      • getActivities

        org.deckfour.xes.classification.XEventClass[] getActivities()
        Returns:
        An array of the activities. Do not edit this array.
      • containsDirectlyFollowsEdge

        boolean containsDirectlyFollowsEdge​(org.deckfour.xes.classification.XEventClass source,
                                            org.deckfour.xes.classification.XEventClass target)
      • getDirectlyFollowsEdgeSource

        org.deckfour.xes.classification.XEventClass getDirectlyFollowsEdgeSource​(long edgeIndex)
      • getDirectlyFollowsEdgeTarget

        org.deckfour.xes.classification.XEventClass getDirectlyFollowsEdgeTarget​(long edgeIndex)
      • containsConcurrencyEdge

        boolean containsConcurrencyEdge​(org.deckfour.xes.classification.XEventClass source,
                                        org.deckfour.xes.classification.XEventClass target)
      • getConcurrencyEdgeSource

        org.deckfour.xes.classification.XEventClass getConcurrencyEdgeSource​(long edgeIndex)
      • getConcurrencyEdgeTarget

        org.deckfour.xes.classification.XEventClass getConcurrencyEdgeTarget​(long edgeIndex)
      • addStartActivities

        void addStartActivities​(MultiSet<org.deckfour.xes.classification.XEventClass> startActivities)
        Add the start activities in the multiset to the start activities.
        Parameters:
        startActivities -
      • addStartActivities

        void addStartActivities​(Dfg dfg)
        Add the start activities in the dfg to the start activities.
        Parameters:
        dfg -
      • removeStartActivity

        void removeStartActivity​(org.deckfour.xes.classification.XEventClass activity)
        Removes the start activity. Use the integer variant if possible.
        Parameters:
        activity -
      • getStartActivities

        java.lang.Iterable<org.deckfour.xes.classification.XEventClass> getStartActivities()
        Return an iterable over the start activities. Use the integer variant if possible.
        Returns:
      • addEndActivities

        void addEndActivities​(MultiSet<org.deckfour.xes.classification.XEventClass> endActivities)
        Add the end activities in the multiset to the end activities.
        Parameters:
        endActivities -
      • addEndActivities

        void addEndActivities​(Dfg dfg)
        Add the end activities in the dfg to the end activities.
        Parameters:
        dfg -
      • removeEndActivity

        void removeEndActivity​(org.deckfour.xes.classification.XEventClass activity)
        Removes the end activity. Use the integer variant if possible.
        Parameters:
        activity -
      • getEndActivities

        java.lang.Iterable<org.deckfour.xes.classification.XEventClass> getEndActivities()
        Return an iterable over the start activities. Use the integer variant if possible.
        Returns: