---
name: "Graph::BFS"
section: "3pm"
platform: "linux"
package: "libgraph-perl"
version: "0.20102-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Graph::BFS"
---

# Graph::BFS(3pm)

graph breadth-first search

## NAME

Graph::BFS - graph breadth-first search

## SYNOPSIS

```
    use Graph::BFS;
```

## DESCRIPTION

- new

  ```
          $bfs = Graph::BFS->new($G, %param)
  ```

  Returns a new breadth-first search object for the graph `$G` and the (optional) parameters `%param`.

See also `"Graph::Traversal"`.

## COPYRIGHT

Copyright 1999, O'Reilly & Associates.

This code is distributed under the same copyright terms as Perl itself.
