Utopia
2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
src
utopia
models
Opinionet
modes.hh
Go to the documentation of this file.
1
#ifndef UTOPIA_MODELS_OPINIONET_MODES
2
#define UTOPIA_MODELS_OPINIONET_MODES
3
4
namespace
Utopia::Models::Opinionet::Modes
{
5
6
// This header provides the various model modes
7
8
enum
Interaction_type
{
9
Deffuant
,
10
HegselmannKrause
11
};
12
13
enum
Opinion_space_type
{
14
continuous
,
15
discrete
16
};
17
18
enum
Rewiring
{
19
RewiringOn
,
20
RewiringOff
21
};
22
23
// Enable printing model modes as strings in logger
24
25
std::string
InteractionTypes
[] = {
26
"Deffuant"
,
27
"HegselmannKrause"
28
};
29
30
std::string
OpinionSpaceTypes
[] = {
31
"continuous"
,
32
"discrete"
33
};
34
35
36
}
//namespace
37
38
#endif
// UTOPIA_MODELS_OPINIONET_MODES
Utopia::Models::Opinionet::Modes
Definition
modes.hh:4
Utopia::Models::Opinionet::Modes::OpinionSpaceTypes
std::string OpinionSpaceTypes[]
Definition
modes.hh:30
Utopia::Models::Opinionet::Modes::Opinion_space_type
Opinion_space_type
Definition
modes.hh:13
Utopia::Models::Opinionet::Modes::discrete
@ discrete
Definition
modes.hh:15
Utopia::Models::Opinionet::Modes::continuous
@ continuous
Definition
modes.hh:14
Utopia::Models::Opinionet::Modes::InteractionTypes
std::string InteractionTypes[]
Definition
modes.hh:25
Utopia::Models::Opinionet::Modes::Interaction_type
Interaction_type
Definition
modes.hh:8
Utopia::Models::Opinionet::Modes::Deffuant
@ Deffuant
Definition
modes.hh:9
Utopia::Models::Opinionet::Modes::HegselmannKrause
@ HegselmannKrause
Definition
modes.hh:10
Utopia::Models::Opinionet::Modes::Rewiring
Rewiring
Definition
modes.hh:18
Utopia::Models::Opinionet::Modes::RewiringOn
@ RewiringOn
Definition
modes.hh:19
Utopia::Models::Opinionet::Modes::RewiringOff
@ RewiringOff
Definition
modes.hh:20
Generated by
1.9.8