#include <filesystem>#include <istream>#include <ostream>#include <fe/span.h>#include <fe/vector.h>#include "pbqp/graph.h"Go to the source code of this file.
Classes | |
| struct | pbqp::Instance |
| A graph together with the optional rn_priority for solve. More... | |
Namespaces | |
| namespace | pbqp |
Functions | |
| void | pbqp::read_json (std::istream &in, Instance &instance, const std::filesystem::path &path="<input>") |
| Read a PBQP instance into the empty instance: | |
| void | pbqp::write_json (std::ostream &out, const Graph &graph, fe::View< size_t > rn_priority={}) |
| Write the format that read_json reads. | |
| struct pbqp::Instance |
A graph together with the optional rn_priority for solve.
| Class Members | ||
|---|---|---|
| Graph | graph | |
| Vector< size_t > | rn_priority | Empty, or one entry per node id. |