def buildSomeConnections(modules):
    res = []
    for i in range(len(modules)//3-1):
        res.append(FullConnection(modules[i*2], modules[i*3+1]))
    return res
add a connection from every second to every third module
dataset/ETHPy150Open pybrain/pybrain/pybrain/tests/unittests/structure/networks/test_network_sort.py/buildSomeConnections