27 #include "../exceptions.h"
29 #include "hypercube.h"
31 namespace pagmo {
namespace topology {
59 pagmo_assert(t_size != 0);
67 while(jump_size <= t_size) {
72 if(index_in_cube >= jump_size) {
boost::shared_ptr< base > base_ptr
Alias for shared pointer to base topology.
std::string get_name() const
Get name of the topology.
base_ptr clone() const
Clone method.
vertices_size_type get_number_of_vertices() const
Get number of vertices.
graph_type::vertices_size_type vertices_size_type
Vertices size type.
hypercube()
Default constructor.
void add_edge(const vertices_size_type &, const vertices_size_type &)
Add an edge.
void connect(const vertices_size_type &)