#include #include #include #include #include #include using namespace paradiseo::smp; int main() { //Test of Complete Topology Topology topo_comp; topo_comp.construct(5); std::cout << std::endl << "---------------" << std::endl << "Test of Complete Topology" << std::endl; std::vector neighbors=topo_comp.getIdNeighbors(1); std::cout << "neighbors of Island 1 : "< topo_star; topo_star.construct(4); std::cout << std::endl << "---------------" << std::endl << "Test of Star Topology" << std::endl; neighbors=topo_star.getIdNeighbors(0); std::cout < topo_ring; topo_ring.construct(8); std::cout << std::endl << "---------------" << std::endl << "Test of Ring Topology" << std::endl; neighbors=topo_ring.getIdNeighbors(4); std::cout <