A test case. More...
#include <iostream>
#include <cassert>
#include "allPairsShortest.h"
Defines | |
#define | INF numeric_limits<int>::max() |
Helper method for asserting a path from expected values. | |
Functions | |
void | assertPath (int s, int t, vector< vector< int > > &pred, int e, int expect[]) |
int | main () |
test case from Cormen, 2nd edition, p. |
A test case.
#define INF numeric_limits<int>::max() |
Helper method for asserting a path from expected values.
void assertPath | ( | int | s, | |
int | t, | |||
vector< vector< int > > & | pred, | |||
int | e, | |||
int | expect[] | |||
) |
int main | ( | ) |
test case from Cormen, 2nd edition, p.
626
Algorithm Development Kit 1.0