private void setGoal2Topology(int CASize, double exciteWeight) {
    setConnections(0, size());
    for (int neuronNum = 0; neuronNum < size(); neuronNum++) {
      for (int synapseNum = 0; synapseNum < neurons[neuronNum]
                                                    .getCurrentSynapses(); synapseNum++) {
        if ((neuronNum / CASize) == (neurons[neuronNum].synapses[synapseNum].toNeuron.id / CASize)) {
          if (neurons[neuronNum].getInhibitory())
            neurons[neuronNum].synapses[synapseNum].setWeight(-0.01);
          else
            neurons[neuronNum].synapses[synapseNum].setWeight(exciteWeight);
        } else { // opposite CA
          if (neurons[neuronNum].getInhibitory()) {
            neurons[neuronNum].synapses[synapseNum].setWeight(-0.99);
          } else
            neurons[neuronNum].synapses[synapseNum].setWeight(0.01);
        }
      }
      if (neurons[neuronNum].getInhibitory())
        for (int synapse = 0; synapse < 10; synapse++) {
          int toNeuron = 0;
          if (neuronNum < 200)
            toNeuron = 1;
          toNeuron *= 200;
          toNeuron += (int) (CANT23.random.nextFloat() * 200);
          addConnection(neuronNum, toNeuron, 0.99);
        }
    }
  }