Interface FitnessFunction

    • Method Detail

      • evaluate

        double evaluate​(OptData opd)
        Get fitness given vars. Higher the better.
        Parameters:
        opd - vars
        Returns:
        fitness
      • newBest

        void newBest​(double ff,
                     OptData opd)
        Callback. Do something with new best.
        Parameters:
        opd - data for new best