openjij
Framework for the Ising model and QUBO.
Loading...
Searching...
No Matches
parse.hpp File Reference
#include <exception>
#include <tuple>
#include <vector>
#include <numeric>
#include <nlohmann/json.hpp>
#include <cimod/binary_polynomial_model.hpp>
#include <cimod/binary_quadratic_model.hpp>
#include <cimod/binary_quadratic_model_dict.hpp>
#include "openjij/graph/graph.hpp"
Include dependency graph for parse.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openjij
 
namespace  openjij::graph
 

Typedefs

using openjij::graph::json = nlohmann::json
 

Functions

template<typename FloatType , typename CimodDataType >
auto openjij::graph::json_parse (const json &obj, bool relabel=true)
 parse json object from bqm.to_serializable
 
template<typename FloatType >
auto openjij::graph::json_parse_polynomial (const nlohmann::json &obj, const bool relabel=true)