예제 #1
0
 /// Constructor method.
 public MultiVariableOptimizer(IManyVariableFunction func,
                               OptimizingPointFactory pointCreator, double[] initialValue)
 {
     _f                = func;
     _pointFactory     = pointCreator;
     this.InitialValue = initialValue;
 }
예제 #2
0
 /// Constructor method
 /// @param func IOneVariableFunction
 /// @param pointCreator OptimizingPointFactory	a factory to create
 ///													strategy points
 public OneVariableFunctionOptimizer(IOneVariableFunction func,
                                     OptimizingPointFactory pointCreator)
     : base(func)
 {
     _pointFactory = pointCreator;
 }
예제 #3
0
 /// Constructor method.
 /// @param func IManyVariableFunction
 /// @param pointCreator DhbOptimizing.OptimizingPointFactory
 /// @param chrManager DhbOptimizing.ChromosomeManager
 public VectorGeneticOptimizer(IManyVariableFunction func,
                               OptimizingPointFactory pointCreator,
                               ChromosomeManager chrManager)
     : base(func, pointCreator, chrManager)
 {
 }
예제 #4
0
 /// Constructor method.
 /// @param func IManyVariableFunction
 /// @param pointCreator DhbOptimizing.OptimizingPointFactory
 public HillClimbingOptimizer(IManyVariableFunction func,
                              OptimizingPointFactory pointCreator, double[] v)
     : base(func, pointCreator, v)
 {
 }
예제 #5
0
 /// Constructor method.
 /// @param func IManyVariableFunction
 /// @param pointCreator DhbOptimizing.OptimizingPointFactory
 /// @param chrManager ChromosomeManager
 public GeneticOptimizer(IManyVariableFunction func,
                         OptimizingPointFactory pointCreator, ChromosomeManager chrManager)
     : base(func, pointCreator, null)
 {
     _chromosomeManager = chrManager;
 }
예제 #6
0
 /// Constructor method.
 /// @param func IManyVariableFunction
 /// @param pointCreator DhbOptimizing.OptimizingPointFactory
 /// @param initialValue double[]
 public MultiVariableGeneralOptimizer(IManyVariableFunction func,
                                      OptimizingPointFactory pointCreator, double[] initialValue)
     : base(func, pointCreator, initialValue)
 {
 }
예제 #7
0
 /// Constructor method.
 /// @param func IManyVariableFunction
 /// @param pointCreator DhbOptimizing.OptimizingPointFactory
 /// @param initialValue double[]
 public SimplexOptimizer(IManyVariableFunction func,
                         OptimizingPointFactory pointCreator, double[] initialValue)
     : base(func, pointCreator, initialValue)
 {
 }