forked from tsai/mathnet-numerics
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
549 B
23 lines
549 B
using MathNet.Numerics.LinearAlgebra;
|
|
|
|
namespace MathNet.Numerics.Optimization
|
|
{
|
|
public interface IObjectiveFunctionEvaluation
|
|
{
|
|
IObjectiveFunction Fork();
|
|
|
|
Vector<double> Point { get; }
|
|
double Value { get; }
|
|
|
|
bool IsGradientSupported { get; }
|
|
Vector<double> Gradient { get; }
|
|
|
|
bool IsHessianSupported { get; }
|
|
Matrix<double> Hessian { get; }
|
|
}
|
|
|
|
public interface IObjectiveFunction : IObjectiveFunctionEvaluation
|
|
{
|
|
void EvaluateAt(Vector<double> point);
|
|
}
|
|
}
|
|
|