Documentation ¶
Index ¶
- type DoFn
- type Info
- type InfoFn
- type NextFn
- type Node
- type Pair
- type TravFn
- type Traversor
- func (trav Traversor[N]) BFS() TravFn[N]
- func (trav Traversor[N]) BFSWithInfo(new_info InfoFn[N]) TravFn[N]
- func (trav Traversor[N]) CFS() TravFn[N]
- func (trav Traversor[N]) CFSWithInfo(new_info InfoFn[N]) TravFn[N]
- func (trav Traversor[N]) DFS() TravFn[N]
- func (trav Traversor[N]) DFSWithInfo(new_info InfoFn[N]) TravFn[N]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Traversor ¶
type Traversor[N Node] struct { // contains filtered or unexported fields }
func (Traversor[N]) BFSWithInfo ¶
Breadth-First Search (BFS)
func (Traversor[N]) CFSWithInfo ¶
Children-First Search (CFS)
func (Traversor[N]) DFSWithInfo ¶
Depth-First Search (DFS)
Click to show internal directories.
Click to hide internal directories.