To make it easier to use Bfs algorithm we have created a wizard class. This BfsWizard class needs default traits, as well as the Bfs class. The BfsWizardBase is a class to be the default traits of the BfsWizard class.
#include <lemon/bfs.h>
Inheritance diagram for BfsWizardBase< GR >:Public Member Functions | |
| BfsWizardBase () | |
| Constructor. | |
| BfsWizardBase (const GR &g) | |
| Constructor. | |
| BfsWizardBase | ( | ) | [inline] |
This constructor does not require parameters, therefore it initiates all of the attributes to 0.
| BfsWizardBase | ( | const GR & | g | ) | [inline] |
This constructor requires one parameter, others are initiated to 0.
| g | The digraph the algorithm runs on. |
1.7.3