protected boolean connectInput(NeuralConnection i,int n){
  if (!super.connectInput(i,n)) {
    return false;
  }
  m_weights[m_numInputs]=m_random.nextDouble() * .1 - .05;
  m_changeInWeights[m_numInputs]=0;
  return true;
}

protected boolean connectInput ( NeuralConnection i , int n ) { if ( ! super . connectInput ( i , n ) ) { return false ; } m_weights [ m_numInputs ] = m_random . nextDouble ( ) * .1 - .05 ; m_changeInWeights [ m_numInputs ] = 0 ; return true ; }
this will connect the specified unit to be an input to this unit .
