activateNetwork() public method

public activateNetwork ( double sensors ) : ISignalArray
sensors double
return ISignalArray
 public double[][] getAgentResponses(double[] reading)
 {
     double[][] responses = new double[_world.Agents.Count()][];
     for (int i = 0; i < _world.Agents.Count(); i++)
     {
         responses[i] = new double[2];
     }
     for (int i = 0; i < _world.Agents.Count(); i++)
     {
         NeuralAgent currentAgent = (NeuralAgent)_world.Agents.ElementAt(i);
         var         results      = currentAgent.activateNetwork(reading);
         results.CopyTo(responses[i], 0);
     }
     return(responses);
 }