public NewtonRaphsonLineSearch(CostFunction costfunction, EndCriteria endcriteria, int maxiteration, double tolerance) { this.costFunction_ = costfunction; this.endCriteria_ = endcriteria; this.maxIteration = maxiteration; this.tolerance = tolerance; }
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria, double sigma_0, int maxiteration, double tolerance) { this.costFunction_ = costfunction; this.endCriteria_ = endcriteria; this.sigma_0 = sigma_0; this.maxIteration = maxiteration; this.tolerance = tolerance; }
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria, double sigma_0, int maxiteration, double tolerance) { this.costFunction_=costfunction; this.endCriteria_=endcriteria; this.sigma_0 = sigma_0; this.maxIteration=maxiteration; this.tolerance=tolerance; }
///<summary>Constructor for More-Thuente Line Search.</summary> public MoreThuenteLineSearch(CostFunction costfunction) : this(costfunction, new EndCriteria()) { }
public NewtonRaphsonLineSearch(CostFunction costfunction, EndCriteria endcriteria) : this(costfunction, new EndCriteria(), 50, 1e-8) { }
///<summary>Constructor for Conjugate Gradient Method. The constructor specifies the /// costfunction and optionally user specified ending criteria and line search methods.</summary> ///<param name="costfunction">Nonlinear cost function to minimize.</param> ///<param name="endcriteria">User specified ending criteria.</param> public ConjugateGradient(CostFunction costfunction, EndCriteria endcriteria) : this(costfunction, endcriteria, new SecantLineSearch(costfunction, endcriteria)) { }
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria) : this(costfunction, endcriteria, 1) { }
///<summary>Constructor for Secant Line Search</summary> public SecantLineSearch(CostFunction costfunction) : this(costfunction, new EndCriteria()) {}
///<param name="lsm">User specified line search method, defaults to Secant line search method</param> public ConjugateGradient(CostFunction costfunction, EndCriteria endcriteria, LineSearchMethod lsm) { this.costFunction_=costfunction; this.endCriteria_=endcriteria; this.lineSearchMethod_=lsm; }
///<param name="endcriteria">User specified ending criteria.</param> public ConjugateGradient(CostFunction costfunction, EndCriteria endcriteria) : this(costfunction, endcriteria, new SecantLineSearch(costfunction, endcriteria)) {}
///<summary>Constructor for Conjugate Gradient Method. The constructor specifies the /// costfunction and optionally user specified ending criteria and line search methods.</summary> ///<param name="costfunction">Nonlinear cost function to minimize.</param> ///<remarks>This class began as a port of CG+ by Guanghui Lui, Jorge Nocedal and Richard Waltz /// to C#</remarks> ///<seealso href="http://www.ece.northwestern.edu/~rwaltz/CG+.html">CG+</seealso> public ConjugateGradient(CostFunction costfunction) : this(costfunction, new EndCriteria()) {}
public MoreThuenteLineSearch(CostFunction costfunction, EndCriteria endcriteria) { this.costFunction_=costfunction; this.endCriteria_=endcriteria; }
///<summary>Constructor for More-Thuente Line Search.</summary> public MoreThuenteLineSearch(CostFunction costfunction) : this(costfunction, new EndCriteria()) {}
public MoreThuenteLineSearch(CostFunction costfunction, EndCriteria endcriteria) { costFunction_ = costfunction; endCriteria_ = endcriteria; }
///<summary>Constructor for Secant Line Search</summary> public SecantLineSearch(CostFunction costfunction) : this(costfunction, new EndCriteria()) { }
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria) : this(costfunction, endcriteria, 1) {}
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria, double sigma_0) : this(costfunction, endcriteria, sigma_0, 50, 1e-8) { }
public SecantLineSearch(CostFunction costfunction, EndCriteria endcriteria, double sigma_0) : this(costfunction, endcriteria, sigma_0, 50, 1e-8) {}
///<summary>Constructor for Conjugate Gradient Method. The constructor specifies the /// costfunction and optionally user specified ending criteria and line search methods.</summary> ///<param name="costfunction">Nonlinear cost function to minimize.</param> ///<remarks>This class began as a port of CG+ by Guanghui Lui, Jorge Nocedal and Richard Waltz /// to C#</remarks> ///<seealso href="http://www.ece.northwestern.edu/~rwaltz/CG+.html">CG+</seealso> public ConjugateGradient(CostFunction costfunction) : this(costfunction, new EndCriteria()) { }
///<summary>Constructor for Newton-Raphson Line Search</summary> public NewtonRaphsonLineSearch(CostFunction costfunction) : this(costfunction, new EndCriteria()) { }
///<summary>Constructor for Conjugate Gradient Method. The constructor specifies the /// costfunction and optionally user specified ending criteria and line search methods.</summary> ///<param name="costfunction">Nonlinear cost function to minimize.</param> ///<param name="endcriteria">User specified ending criteria.</param> ///<param name="lsm">User specified line search method, defaults to Secant line search method</param> public ConjugateGradient(CostFunction costfunction, EndCriteria endcriteria, LineSearchMethod lsm) { costFunction_ = costfunction; endCriteria_ = endcriteria; lineSearchMethod_ = lsm; }