public double evaluate() {
    /* Sum together all inputs. */
    double sum = 0;
    for(Neuron key : dendrites.keySet()) {
      if(key == this) sum += dendrites.get(key)*_bias;
      else sum += dendrites.get(key);
    }
    return _function.evaluate(sum);
  }