Compute performance of Prim's algorithm. More...
#include <sys/time.h>
#include "mst.h"
#include "report.h"
Functions | |
| int | main (int argc, char **argv) |
| Launch the application to time MST. | |
Variables | |
| static struct timeval | before |
| Time before process starts. | |
| static struct timeval | after |
| Time after process completes. | |
Compute performance of Prim's algorithm.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Launch the application to time MST.
Command line options include:
-f FILE to load up the graph from a file. -v to output information in verbose mode.
struct timeval after [static] |
Time after process completes.
struct timeval before [static] |
Time before process starts.
Algorithm Development Kit 1.0