Split graph folder into graph and tree

This commit is contained in:
stefiosif
2022-07-10 15:32:13 +03:00
parent 3fa6935b84
commit b9cd1a1cbd
11 changed files with 176 additions and 25 deletions

View File

@@ -1,17 +0,0 @@
#ifndef DAG_H_
#define DAG_H_
#include "digraph.h"
namespace graph {
// Directed Acyclic Graph
template<typename T>
class DAG {
public:
DAG() = default;
};
} // namespace graph
#endif

View File

@@ -0,0 +1,16 @@
#ifndef DIRECTED_ACYCLIC_GRAPH_H_
#define DIRECTED_ACYCLIC_GRAPH_H_
#include "digraph.h"
namespace graph {
template<typename T>
class DirectedAcyclicGraph {
public:
DirectedAcyclicGraph() = default;
};
} // namespace graph
#endif