private void setModule2Topology() {
    for (int neuron = 0; neuron < getSize(); neuron++) {
      if ((neuron % 5) == 0)
        neurons[neuron].setInhibitory(true);
      else
        neurons[neuron].setInhibitory(false);
    }

    for (int neuron = 0; neuron < getSize(); neuron++) {
      int CA = neuron / neuronsInModule2CA;
      if (neurons[neuron].isInhibitory) {
        for (int synapse = 0; synapse < 80 * ((1 + nOfModule2CAs) / 2); synapse++) {
          int toNeuron = (int) (CANT23.random.nextFloat() * getSize());
          if ((toNeuron / neuronsInModule2CA) != CA)
            addConnection(neuron, toNeuron, 2.0);
        }
      } else {
        for (int synapse = 0; synapse < 15; synapse++) {
          int toNeuron = (int) (CANT23.random.nextFloat() * neuronsInModule2CA)
          + (CA * neuronsInModule2CA);
          addConnection(neuron, toNeuron, 1.0);
        }
      }
    }
  }