public void setWeight(double weights, int position)
{
if (inputs.Count > position)
{
double save_input = this.inputs[position].input;
this.inputs[position] = new Input { input = save_input, weight = weights };
}
else
{
Debug.Log("try to set weight in a too high position");
throw new IndexOutOfRangeException();
}
}
public void setInput(double input, int position)