diff options
Diffstat (limited to '')
| -rw-r--r-- | src/cycle_detection.h (renamed from src/cycleDetection.h) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cycleDetection.h b/src/cycle_detection.h index e1b62e0..df9607e 100644 --- a/src/cycleDetection.h +++ b/src/cycle_detection.h @@ -1,13 +1,13 @@ -#ifndef CYCLEDETECTION_H -#define CYCLEDETECTION_H +#ifndef CYCLE_DETECTION_H +#define CYCLE_DETECTION_H -#include "Graph.h" +#include "graph.h" // Runs Kahn's algorithm on the graph, and outputs 'CYCLE DETECTED!\n' // if a DAG cannot be created, or the vertices as a list fx. '4, 0, 1, 3, 2\n' // representing an ordering in the DAG. // The output is printed to stdout. // The input may be altered in the process. -void cycleDetection(Graph *g); +void cycle_detection(Graph *g); -#endif // CYCLEDETECTION_H +#endif // CYCLE_DETECTION_H |