#include "pbqp/json.h"#include <cassert>#include <charconv>#include <cstdint>#include <limits>#include <optional>#include <print>#include <string_view>#include <utility>#include <fe/driver.h>#include <fe/format.h>#include <fe/lexer.h>#include <fe/parser.h>Go to the source code of this file.
Namespaces | |
| namespace | pbqp |
| namespace | pbqp::json |
Macros | |
| #define | PBQP_JSON_KEY(m) |
| #define | PBQP_JSON_VAL(m) |
| #define | PBQP_JSON_TOK(m) |
| #define | CODE(t, _) |
| #define | CODE(t, str) |
| #define | CODE(t, str) |
| #define | CODE(t, _) |
| #define | CODE(t, _) |
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. | |
| #define CODE | ( | t, | |
| str ) |
| #define PBQP_JSON_KEY | ( | m | ) |
| #define PBQP_JSON_TOK | ( | m | ) |