Class MultipleTest


  • public class MultipleTest
    extends java.lang.Object
    Optimizes the input to a function of type SingleDoubleValue by testing multiple possible input values
    • Constructor Summary

      Constructors 
      Constructor Description
      MultipleTest​(double interval)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double optimize​(SingleDoubleValue v, double min, double max)
      Optimizes the input
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultipleTest

        public MultipleTest​(double interval)
        Constructor
        Parameters:
        interval - The interval between tested values
    • Method Detail

      • optimize

        public double optimize​(SingleDoubleValue v,
                               double min,
                               double max)
        Optimizes the input
        Parameters:
        v - The function
        min - The minimum allowed input value
        max - The maximum allowed input value
        Returns:
        Optimized input