25 #ifndef PAGMO_TOPOLOGY_CLUSTERED_BA_H
26 #define PAGMO_TOPOLOGY_CLUSTERED_BA_H
31 #include "../config.h"
33 #include "../serialization.h"
36 namespace pagmo {
namespace topology {
58 std::string get_name()
const;
61 std::string human_readable_extra()
const;
63 friend class boost::serialization::access;
64 template <
class Archive>
65 void serialize(Archive &ar,
const unsigned int)
67 ar & boost::serialization::base_object<base>(*this);
68 ar &
const_cast<std::size_t &
>(m_m0);
69 ar &
const_cast<std::size_t &
>(m_m);
74 const std::size_t m_m0;
76 const std::size_t m_m;
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base topology.
This rng returns an unsigned integer in the [0,2**32-1] range.
Barabási-Albert graph topology.
graph_type::vertices_size_type vertices_size_type
Vertices size type.
This rng returns a double in the [0,1[ range.