IConstraintDefinition Type

Interface for constraint definitions

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

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

Instance members

Instance member Description

this.Check

Full Usage: this.Check

Parameters:
    solution : DoubleVector - DoubleVector with solution to test against constraints

Returns: bool Returns true if solution satisfies constraints
Modifiers: abstract

Test whether constraint is satisfied

solution : DoubleVector

DoubleVector with solution to test against constraints

Returns: bool

Returns true if solution satisfies constraints

this.Update

Full Usage: this.Update

Parameters:
    solution : DoubleVector - DoubleVector with current solution vector
    direction : DoubleVector - DoubleVector with direction to add to current solution vector
    beta : float - Scale factor representing the size of the step in the direction of 'direction' vector

Returns: float
Modifiers: abstract

Find a beta so that a new solution = old solution + beta * direction satifies the constraint

solution : DoubleVector

DoubleVector with current solution vector

direction : DoubleVector

DoubleVector with direction to add to current solution vector

beta : float

Scale factor representing the size of the step in the direction of 'direction' vector

Returns: float