Split graph folder into graph and tree
This commit is contained in:
17
graph/dag.h
17
graph/dag.h
@@ -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
|
||||
16
graph/directed_acyclic_graph.h
Normal file
16
graph/directed_acyclic_graph.h
Normal 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
|
||||
Reference in New Issue
Block a user