Example #1
0
        public Func <double, double, bool> GetFeatureGenerator(
            Random Random, Dictionary <FunctionFactory, Func <double, double, double> > Cache)
        {
            var g = Generator.Get(Random, Cache);
            var t = ThresholdGenerator.Get(Random, Cache);

            return((x, y) => g(x, y) > t(x, y));
        }