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>
-
-
Field Summary
-
Fields inherited from class org.processmining.framework.util.search.DepthFirstExpandCollection
stack
-
-
Constructor Summary
Constructors Constructor Description BreadthFirstExpandCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.util.Collection<? extends N> newElements)
Adds the given elements to the collection.-
Methods inherited from class org.processmining.framework.util.search.DepthFirstExpandCollection
isEmpty, pop
-
-
-
-
Method Detail
-
add
public void add(java.util.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 interfaceExpandCollection<N>
- Overrides:
add
in classDepthFirstExpandCollection<N>
- Parameters:
newElements
- the nodes to expand further
-
-