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

20 lines
339 B
C++

#ifndef DIRECTED_ROOTED_TREE_H_
#define DIRECTED_ROOTED_TREE_H_
#include "tree.h"
using namespace graph;
namespace tree {
template<typename T>
class DirectedRootedTree : public Tree<T> {
public:
DirectedRootedTree() = default;
DirectedRootedTree(std::map<T, std::set<T>> G)
: Tree<T>::Tree(G) {}
};
} // namespace tree
#endif