I had to make a header for this on my exam (sadly I failed):
Make a program, which has the following usage:
$ prog source target [graph]
where the source and the target are strings.
for grade 2: The program is working
for grade 3: 2 + the program can count the edges
for grade 4: 3 + the program can find a path from the source to the target
for grade 5: 4 + the program can find the shortest path
#include <iostream>
#include "graph.h"
using namespace std;
int main()
{
int yourMark = 1;
/// for grade 2
Graph<int, false> undir_graph;
Graph<int, true> dir_graph;
std::cout << "Your mark is " << yourMark << std::endl;
return 0;
}
My biggest problem is i don't understand what is Graph<int, false>
please at least explain this part of the task if u dont have time for the whole thing.