| Package | com.lookbackon.ds.graph.searcher |
| Class | public class BFSsearcher |
| Inheritance | BFSsearcher SearcherBase Object |
| Method | Defined By | ||
|---|---|---|---|
BFSsearcher(graph:GraphBoard) | BFSsearcher | ||
search(src:int, dst:int):Boolean [override]
Search execution
| BFSsearcher | ||
searchAll(src:int, dst:int, visited:ArrayCollection):void [override]
| BFSsearcher | ||
| BFSsearcher | () | Constructor |
| search | () | method |
override public function search(src:int, dst:int):BooleanSearch execution
Parameters
src:int — Starting point
| |
dst:int — Terminal point
|
Boolean — When it exists, it is true, and a pertinent route is false when not existing.
|
| searchAll | () | method |
override public function searchAll(src:int, dst:int, visited:ArrayCollection):void
Parameters
src:int — Starting point
| |
dst:int — Terminal point
| |
visited:ArrayCollection — A linked list of visited node.
|