@ISA = qw(Graph::Traversal);
Graph::BFS - graph breadth-first search
$bfs = Graph::BFS->new($G, %param)
Returns a new breadth-first search object for the graph $G
and the (optional) parameters %param.
Graph
::Traversal
::new
( $class,
sub { $_[0]->{ active_list
}->[ 0 ] },
sub { shift @
{ $_[0]->{ active_list
} } },
See also C<Graph::Traversal>.
Copyright 1999, O'Reilly & Associates.
This code is distributed under the same copyright terms as Perl itself.