25 #ifndef PAGMO_TOPOLOGY_CUSTOM_H
26 #define PAGMO_TOPOLOGY_CUSTOM_H
30 #include "../config.h"
31 #include "../serialization.h"
34 namespace pagmo {
namespace topology {
51 void add_edge(
int,
int,
double = 1.0);
52 void remove_edge(
int,
int);
53 void remove_all_edges();
56 std::string get_name()
const;
60 friend class boost::serialization::access;
61 template <
class Archive>
62 void serialize(Archive &ar,
const unsigned int)
64 ar & boost::serialization::base_object<base>(*this);
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base topology.
graph_type::vertices_size_type vertices_size_type
Vertices size type.