Click or drag to resize

CostFunction Class

Base class for cost function declaration
Inheritance Hierarchy

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract class CostFunction : ICostFunction

The CostFunction type exposes the following members.

Constructors
 NameDescription
Protected methodCostFunctionInitializes a new instance of the CostFunction class
Top
Properties
 NameDescription
Public propertyConstraintAccess the constraints for the given cost function
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGradientMethod to override to calculate the grad_f, the first derivative of the cost function with respect to x
Public methodHessianMethod to override to calculate the Hessian of f, the second derivative of the cost function with respect to x
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValueMethod to override to compute the cost function value of x
Top
Fields
 NameDescription
Protected fieldconstraint_ 
Top
Remarks

Copyright (c) 2003-2004, dnAnalytics Project. All rights reserved. See http://www.dnAnalytics.net for details.

Adopted to Altaxo (c) 2005 Dr. Dirk Lellinger.

See Also