25 #ifndef PAGMO_TOPOLOGY_ONE_WAY_RING_H
26 #define PAGMO_TOPOLOGY_ONE_WAY_RING_H
30 #include "../config.h"
31 #include "../serialization.h"
34 namespace pagmo {
namespace topology {
49 std::string get_name()
const;
51 void connect(
const vertices_size_type &);
53 friend class boost::serialization::access;
54 template <
class Archive>
55 void serialize(Archive &ar,
const unsigned int)
57 ar & boost::serialization::base_object<base>(*this);
62 vertices_size_type m_first;
64 vertices_size_type m_last;
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base topology.
Uni-directional ring topology.