private void makeInhibitory(final Neuron source,List<Synapse> syns,boolean looseSynapses){
  for (  Neuron target : getNeuronsInRadius(source,inhibitoryRadius)) {
    if (!sourceNeurons.contains(target)) {
      continue;
    }
    if (Network.getSynapse(source,target) != null) {
      continue;
    }
    if (!allowSelfConnections) {
      if (source == target) {
        continue;
      }
    }
    if (Math.random() < inhibitoryProbability) {
      Synapse synapse=new Synapse(source,target);
      synapse.setStrength(-1);
      if (looseSynapses) {
        network.addSynapse(synapse);
      }
      syns.add(synapse);
    }
  }
}

private void makeInhibitory ( final Neuron source , List < Synapse > syns , boolean looseSynapses ) { for ( Neuron target : getNeuronsInRadius ( source , inhibitoryRadius ) ) { if ( ! sourceNeurons . contains ( target ) ) { continue ; } if ( Network . getSynapse ( source , target ) != null ) { continue ; } if ( ! allowSelfConnections ) { if ( source == target ) { continue ; } } if ( Math . random ( ) < inhibitoryProbability ) { Synapse synapse = new Synapse ( source , target ) ; synapse . setStrength ( - 1 ) ; if ( looseSynapses ) { network . addSynapse ( synapse ) ; } syns . add ( synapse ) ; } } }
make an inhibitory neuron , in the sense of connecting this neuron with surrounding neurons via excitatory connections .
