| 1 |
#ifndef _CAPFOREST_H |
| 2 |
#define _CAPFOREST_H |
| 3 |
|
| 4 |
#include "sym_proto.h" |
| 5 |
#include "network.h" |
| 6 |
|
| 7 |
float capforest PROTO((network *n, int Vertnum, char scannedmark)); |
| 8 |
float increment PROTO((vertex *v, float inc, vertex **tnodes, int *lnt)); |
| 9 |
/* If the v is in the tree, then increases its value with inc, |
| 10 |
otherwise inserts v into the tree with value inc. |
| 11 |
Returns the incremented value of v.*/ |
| 12 |
vertex *delmax PROTO((vertex **treenodes, int *lnt)); |
| 13 |
/* Erases and returns the maximum element in the tree. */ |
| 14 |
|
| 15 |
#endif |