public void Test(SharpNeat.Phenomes.IBlackBox box, IList <double> inputs, OutputProcessor fun)
        {
            var actualOutputs = new double[nbClusters];

            activate(box, inputs, actualOutputs);
            for (int i = 0; i < nbClusters; i++)
            {
                fun(i, actualOutputs[i]);
            }
        }
        public void Test(SharpNeat.Phenomes.IBlackBox box, IList <double> inputs, OutputProcessor fun)
        {
            var actualOutputs = new double[dataset.OutputCount];

            activate(box, inputs, actualOutputs);
            for (int i = 0; i < dataset.OutputCount; i++)
            {
                fun(i, actualOutputs[i]);
            }
        }
        public void Test(SharpNeat.Phenomes.IBlackBox box, IList <double> inputs, OutputProcessor fun)
        {
            var outputs = new double[nbOutputsNN];

            activate(box, inputs, outputs);
            var clustersOutputs = GetOutputValuePerCluster(outputs);

            for (int i = 0; i < nbClusters; i++)
            {
                fun(i, clustersOutputs[i]);
            }
        }