9 #ifndef INDIGOX_CLASSES_TREEDECOMP_HPP 10 #define INDIGOX_CLASSES_TREEDECOMP_HPP 12 #include "../utils/graph.hpp" 22 std::set<PermVertex>
bag;
25 typedef utils::Graph<TDVertProp, utils::NoProperty, utils::UndirectedGraph>
52 size_t GetWidth()
const {
return upperBound_; }
60 std::map<PermVertex, TDVertex> bagMap_;
61 std::map<PermVertex, uid_t> elimiIndex_;
64 typedef std::shared_ptr<_TDecomp>
TDecomp;
std::vector< PermVertex > ElimOrder
Definition: permutablegraph.hpp:34
utils::Graph< TDVertProp, utils::NoProperty, utils::UndirectedGraph > _TDGraph
Definition: treedecomp.hpp:26
_TDGraph::EdgeIter TDEdgeIter
Definition: treedecomp.hpp:31
_TDGraph::VertBool TDVertBool
Definition: treedecomp.hpp:40
_TDGraph::PredIter TDPredecessorsIter
Definition: treedecomp.hpp:33
_TDGraph::NbrsIterPair TDNbrsIterPair
Definition: treedecomp.hpp:38
_TDGraph::EdgeIterPair TDEdgeIterPair
Definition: treedecomp.hpp:37
std::set< PermVertex > bag
Definition: treedecomp.hpp:22
Namespace for all graph related functionality.
Definition: access.hpp:7
size_t GetWidth() const
Definition: treedecomp.hpp:52
_TDGraph::EdgeBool TDEdgeBool
Definition: treedecomp.hpp:41
_TDGraph::VertType TDVertex
Definition: treedecomp.hpp:28
_TDGraph::VertIterPair TDVertIterPair
Definition: treedecomp.hpp:36
void SetInput(PermutableGraph, ElimOrder &)
_TDGraph::EdgeType TDEdge
Definition: treedecomp.hpp:30
PermutableGraph GetSourceGraph()
Definition: treedecomp.hpp:53
std::shared_ptr< _PermutableGraph > PermutableGraph
Definition: permutablegraph.hpp:24
_TDGraph::VertTypePair TDVertPair
Definition: treedecomp.hpp:35
Definition: treedecomp.hpp:21
_TDGraph::PredIterPair TDPredIterPair
Definition: treedecomp.hpp:39
std::shared_ptr< _TDecomp > TDecomp
Definition: treedecomp.hpp:64
_TDGraph::NbrsIter TDNeighboursIter
Definition: treedecomp.hpp:32
_TDGraph::VertIter TDVertexIter
Definition: treedecomp.hpp:29
Definition: treedecomp.hpp:45