SetBoolean() public method

Set the value as a boolean.
public SetBoolean ( int index, bool b ) : void
index int The index.
b bool The boolean value.
return void
Esempio n. 1
0
 /// <summary>
 /// Copy the output from the network to another object.
 /// </summary>
 /// <param name="output">The target object for the output from the network.</param>
 private void GetOutput(BiPolarNeuralData output)
 {
     for (int i = 0; i < this.layerF2.NeuronCount; i++)
     {
         output.SetBoolean(i, this.outputF2.GetBoolean(i));
     }
 }