19 lines
279 B
C++
19 lines
279 B
C++
#ifndef TREE_H_
|
|
#define TREE_H_
|
|
|
|
#include "graph/digraph.h"
|
|
using namespace graph;
|
|
|
|
namespace tree {
|
|
|
|
template<typename T>
|
|
class Tree : public Digraph<T> {
|
|
public:
|
|
Tree() = default;
|
|
|
|
Tree(std::map<T, std::set<T>> G) : Digraph<T>::Digraph(G) {}
|
|
};
|
|
|
|
} // namespace tree
|
|
|
|
#endif |