Class BreadthFirstExpandCollection<N>

java.lang.Object
org.processmining.framework.util.search.DepthFirstExpandCollection<N>
org.processmining.framework.util.search.BreadthFirstExpandCollection<N>
All Implemented Interfaces:
ExpandCollection<N>

public class BreadthFirstExpandCollection<N> extends DepthFirstExpandCollection<N>
  • Constructor Details

    • BreadthFirstExpandCollection

      public BreadthFirstExpandCollection()
  • Method Details

    • add

      public void add(Collection<? extends N> newElements)
      Description copied from interface: ExpandCollection
      Adds the given elements to the collection. Note that implementing classes may safely assume that the calling thread owns the monitor, i.e. there is no need to synchronize on the collection retained by this expandcollection and removals are allowed. Furthermore, the implementing class may decide not to include any of the given newElements if it decides that they are not to be investigated further.
      Specified by:
      add in interface ExpandCollection<N>
      Overrides:
      add in class DepthFirstExpandCollection<N>
      Parameters:
      newElements - the nodes to expand further