27 # pragma clang diagnostic push 28 # pragma clang diagnostic ignored "-Wredeclared-class-member" 30 #include <boost/bimap.hpp> 32 # pragma clang diagnostic pop 47 typedef boost::shared_ptr<MetisIndex> shared_ptr;
48 typedef boost::bimap<Key, int32_t> bm_type;
51 std::vector<int32_t> xadj_;
52 std::vector<int32_t> adj_;
53 boost::bimap<Key, int32_t> intKeyBMap_;
81 template<
class FACTOR>
82 void augment(
const FactorGraph<FACTOR>& factors);
84 const std::vector<int32_t>& xadj()
const {
87 const std::vector<int32_t>& adj()
const {
90 size_t nValues()
const {
93 Key intToKey(int32_t value)
const {
95 return intKeyBMap_.right.find(value)->second;
The MetisIndex class converts a factor graph into the Compressed Sparse Row format for use in METIS a...
Definition: MetisIndex.h:45
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:57
MetisIndex()
Default constructor, creates empty MetisIndex.
Definition: MetisIndex.h:61
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
Typedefs for easier changing of types.