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

20 lines
335 B
C++

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