Class EdgesOrderingIterator<N extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode,​E extends org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge>

  • Type Parameters:
    N -
    E -
    All Implemented Interfaces:
    java.util.Iterator<PartialPlaceEvaluation<N>>

    public class EdgesOrderingIterator<N extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode,​E extends org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge>
    extends CandidatePlaceIterator<N>
    Class implementing the incremental generation of PlaceEvaluations from the set of edges of the Cluster. The PEs are returned (via hasNext()) by **increasing** size. The size of a PE is the sum of its input and outputPlaces. This is clearly not a total order, hence places with the same sum of input and outputs are returned in any order.
    Author:
    demas
    • Method Detail

      • buildPartialPEFromIndexes

        public static <N extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode,​E extends org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge> PartialPlaceEvaluation<N> buildPartialPEFromIndexes​(java.util.ArrayList<E> edges,
                                                                                                                                                                                                                                                    int[] indexes)
      • hasNext

        public boolean hasNext()