File order_polytope_generator.h

Functions

template<class Polytope>
Polytope get_orderpoly(Poset const &poset)
Template Parameters:

Polytope – Type of returned polytope

template<class Polytope>
Polytope generate_orderpoly(std::string &instance_name)
Template Parameters:

Polytope – Type of returned polytope

template<class Polytope>
Polytope generate_cube_orderpoly(unsigned int dim)
Template Parameters:

Polytope – Type of returned polytope

template<class Polytope, typename NT>
Polytope random_orderpoly(unsigned int dim, unsigned int m, int seed = std::numeric_limits<int>::signaling_NaN())
Template Parameters:
  • Polytope – Type of returned polytope

  • RNGType – RNGType Type

Variables

static const std::unordered_map< std::string, std::string > instances  ={{"bipartite_0.5_008_0", R"(0 0 0 0 1 0 1 00 0 0 0 1 0 0 00 0 0 0 1 1 0 10 0 0 0 1 0 1 00 0 0 0 0 0 0 00 0 0 0 0 0 0 00 0 0 0 0 0 0 00 0 0 0 0 0 0 0)"},{"bayesiannetwork_andes_008_0", R"(0 0 0 0 0 0 0 01 0 0 0 0 0 0 00 1 0 0 0 0 0 00 0 0 0 0 0 0 00 0 1 1 0 0 0 00 0 0 0 1 0 0 00 0 0 0 0 0 0 00 0 0 0 1 1 1 0)"},}