You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since what I want is a different topology. I wonder if there is a way to modify, for example, the ring topology or fully connected through "add_edge" or "add_vertex" on the topology. I would be very grateful if you could send me a minimal example of adding or removing islands from the topology with these methods, as I have not been able to do it.:
t1 = pg.topology(pg.ring(5))
t1.add_vertex()
Output:
AttributeError: 'pygmo.core.topology' object has no attribute 'add_vertex'
The text was updated successfully, but these errors were encountered:
Since what I want is a different topology. I wonder if there is a way to modify, for example, the ring topology or fully connected through "add_edge" or "add_vertex" on the topology. I would be very grateful if you could send me a minimal example of adding or removing islands from the topology with these methods, as I have not been able to do it.:
t1 = pg.topology(pg.ring(5))
t1.add_vertex()
Output:
AttributeError: 'pygmo.core.topology' object has no attribute 'add_vertex'
The text was updated successfully, but these errors were encountered: