code: public static <A, S, N extends Node<A, S, N>> BreadthFirstSearch<A, S, N> createBreadthFirstSearch(
  			SearchProblem<A, S, N> components) {
  		return new BreadthFirstSearch<A, S, N>(components.getInitialNode(), components.getExpander());
  	}
docs: Instantiates Breadth First Search algorithm for a problem definition.
  
  @param components
  search problem definition with the components of the algorithm
  @param <A>
  type of the actions
  @param <S>
  type of the states
  @param <N>
  type of the nodes
  @return instance of
  {@link es.usc.citius.hipster.algorithm.BreadthFirstSearch} for
  the problem definition