private double findPhysicalDistance(final Neuron neuron1,final Neuron neuron2){
  double ret=Math.sqrt(Math.pow(neuron2.getX() - neuron1.getX(),2) + Math.pow(neuron2.getY() - neuron1.getY(),2));
  return ret;
}

private double findPhysicalDistance ( final Neuron neuron1 , final Neuron neuron2 ) { double ret = Math . sqrt ( Math . pow ( neuron2 . getX ( ) - neuron1 . getX ( ) , 2 ) + Math . pow ( neuron2 . getY ( ) - neuron1 . getY ( ) , 2 ) ) ; return ret ; }
finds the physical euclidian distance between two neurons .
