◆ vertex
◆ TestNetworkD()
Utopia::Models::Opinionet::Revision::TestNetworkD::TestNetworkD |
( |
| ) |
|
|
inline |
33 {
34 boost::add_edge(
v1,
v2,
nw);
35 boost::add_edge(
v1,
v3,
nw);
36 boost::add_edge(
v1,
v4,
nw);
37 boost::add_edge(
v1,
v6,
nw);
42 }
45 }
46 }
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
IterateOver
Over which graph entity to iterate.
Definition iterator.hh:19
decltype(auto) range(const Graph &g)
Get the iterator range over selected graph entities.
Definition iterator.hh:149
@ vertices
Iterate over vertices.
void set_and_normalize_weights(const VertexDescType v, NWType &nw, const double weighting)
Set and normalize weights according to opinion difference.
Definition utils.hh:102
vertex v2
Definition test_revision.cc:25
vertex v4
Definition test_revision.cc:27
const double weighting
Definition test_revision.cc:31
vertex v6
Definition test_revision.cc:29
NetworkDirected nw
Definition test_revision.cc:23
vertex v3
Definition test_revision.cc:26
vertex v1
Definition test_revision.cc:24
◆ nw
◆ v1
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v1 = boost::add_vertex(nw) |
◆ v2
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v2 = boost::add_vertex(nw) |
◆ v3
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v3 = boost::add_vertex(nw) |
◆ v4
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v4 = boost::add_vertex(nw) |
◆ v5
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v5 = boost::add_vertex(nw) |
◆ v6
vertex Utopia::Models::Opinionet::Revision::TestNetworkD::v6 = boost::add_vertex(nw) |
◆ weighting
const double Utopia::Models::Opinionet::Revision::TestNetworkD::weighting = 1.5 |
The documentation for this struct was generated from the following file: