Utopia 2
Framework for studying models of complex & adaptive systems.
|
#include <random>
#include <type_traits>
#include <boost/test/unit_test.hpp>
#include <boost/graph/random.hpp>
#include "../Opinionet.hh"
#include "../modes.hh"
#include "../revision.hh"
#include "../utils.hh"
Classes | |
struct | Utopia::Models::Opinionet::Revision::TestNetworkD |
struct | Utopia::Models::Opinionet::Revision::TestNetworkU |
Namespaces | |
namespace | Utopia |
namespace | Utopia::Models |
namespace | Utopia::Models::Opinionet |
namespace | Utopia::Models::Opinionet::Revision |
Macros | |
#define | BOOST_TEST_MODULE revision test |
Functions | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_HK_u, TestNetworkU) | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_HK_d, TestNetworkD, *boost::unit_test::tolerance(0.0001)) | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_rewiring_u, TestNetworkU) | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_rewiring_d, TestNetworkD) | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_D_c, TestNetworkD, *boost::unit_test::tolerance(0.05)) | |
Utopia::Models::Opinionet::Revision::BOOST_FIXTURE_TEST_CASE (test_opinion_update_D_d, TestNetworkU, *boost::unit_test::tolerance(0.05)) | |
Variables | |
std::mt19937 | Utopia::Models::Opinionet::Revision::rng {} |
– Type definitions ----------------------------------------------------— | |
std::uniform_real_distribution< double > | Utopia::Models::Opinionet::Revision::prob_distr |
#define BOOST_TEST_MODULE revision test |