Class: CircleConnectStrategy
- Inherits:
-
ConnectStrategy
- Object
- ConnectStrategy
- CircleConnectStrategy
- Defined in:
- lib/gimuby/genetic/archipelago/connect_strategy/circle_connect_strategy.rb
Instance Method Summary collapse
Instance Method Details
#connect(archipelago) ⇒ Object
6 7 8 9 |
# File 'lib/gimuby/genetic/archipelago/connect_strategy/circle_connect_strategy.rb', line 6 def connect(archipelago) nodes = get_nodes(archipelago) archipelago.connect_path(nodes, TRUE) end |