23#ifndef BCEQUILIBRIUM_HPP
24#define BCEQUILIBRIUM_HPP
26#include "bcecommon.hpp"
27#include "bceexception.hpp"
28#include <boost/serialization/list.hpp>
29#include <boost/serialization/vector.hpp>
30#include <boost/serialization/map.hpp>
31#include <boost/archive/text_iarchive.hpp>
32#include <boost/archive/text_oarchive.hpp>
33#include <boost/archive/binary_iarchive.hpp>
34#include <boost/archive/binary_oarchive.hpp>
35#include <boost/serialization/utility.hpp>
78 template <
class Archive>
79 void serialize(Archive& ar,
const unsigned int version)
84 friend class boost::serialization::access;
Class for storing a BCE.
Definition: bcequilibrium.hpp:44
BCEquilibrium(const map< int, double > &data)
Constructor.
Definition: bcequilibrium.hpp:60
BCEquilibrium()
Default constructor.
Definition: bcequilibrium.hpp:56
void serialize(Archive &ar, const unsigned int version)
Serialization routine.
Definition: bcequilibrium.hpp:79
BCEquilibrium & operator=(const BCEquilibrium &rhs)
Assignment operator.
Definition: bcequilibrium.hpp:67
map< int, double > distribution
The BCE.
Definition: bcequilibrium.hpp:50
~BCEquilibrium()
Destructor.
Definition: bcequilibrium.hpp:64
double key
Unused key for sorting BCE.
Definition: bcequilibrium.hpp:52