Browse Source

Optimization: Remove EvaluationStatus from public interface

pull/489/head
Scott Stephens 12 years ago
committed by Erik Ovegard
parent
commit
7bffb16018
  1. 1
      src/Numerics/Optimization/IEvaluation.cs
  2. 8
      src/Numerics/Optimization/Implementation/ObjectiveChecker.cs

1
src/Numerics/Optimization/IEvaluation.cs

@ -17,7 +17,6 @@ namespace MathNet.Numerics.Optimization
// Used by algorithm // Used by algorithm
bool GradientSupported { get; } bool GradientSupported { get; }
bool HessianSupported { get; } bool HessianSupported { get; }
EvaluationStatus Status { get; }
double Value { get; } double Value { get; }
Vector<double> Gradient { get; } Vector<double> Gradient { get; }
Matrix<double> Hessian { get; } Matrix<double> Hessian { get; }

8
src/Numerics/Optimization/Implementation/ObjectiveChecker.cs

@ -31,14 +31,6 @@ namespace MathNet.Numerics.Optimization.Implementation
set { this.InnerEvaluation.Point = value; } set { this.InnerEvaluation.Point = value; }
} }
public EvaluationStatus Status
{
get
{
return this.InnerEvaluation.Status;
}
}
public double Value public double Value
{ {
get get

Loading…
Cancel
Save