Abstract baseclass for all algoritm-classes. More...
#include <GTL/algorithm.h>
[public]error values returned by algorithms in run and check.
[public]Creates an algorithm object.
[public virtual]Destroys the algorithm object.
[public virtual]Applies algorithm to graph g.
Please note: It is definitly required (and
run relies on it), that check was
called in advance.
G | graph |
algorithm::GTL_OK on success
algorithm::GTL_ERROR
otherwise [public virtual]Checks whether all preconditions are satisfied.
G | graph |
algorithm::GTL_OK on success
algorithm::GTL_ERROR
otherwise [public virtual]Resets algorithm, i.e. prepares the algorithm to be applied to another graph. Please note: The options an algorithm may support do not get reset by this. It is just to reset internally used datastructures.
| Kdoc |