Files
reachability-algorithms/tree/tree.h
2022-07-10 15:32:13 +03:00

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