C# Class QLNet.Problem

显示文件 Open project: ammachado/QLNet Class Usage Examples

Protected Properties

Property Type Description
constraint_ QLNet.Constraint
costFunction_ QLNet.CostFunction
currentValue_ Vector
functionEvaluation_ int
functionValue_ double?

Public Methods

Method Description
Problem ( QLNet.CostFunction costFunction, QLNet.Constraint constraint, Vector initialValue ) : System
constraint ( ) : QLNet.Constraint
costFunction ( ) : QLNet.CostFunction
currentValue ( ) : Vector
functionEvaluation ( ) : int
functionValue ( ) : double
gradient ( Vector grad_f, Vector x ) : void
gradientEvaluation ( ) : int
gradientNormValue ( ) : double
reset ( ) : void
setCurrentValue ( Vector currentValue ) : void
setFunctionValue ( double functionValue ) : void
setGradientNormValue ( double squaredNorm ) : void
value ( Vector x ) : double
valueAndGradient ( Vector grad_f, Vector x ) : double
values ( Vector x ) : Vector

Method Details

Problem() public method

public Problem ( QLNet.CostFunction costFunction, QLNet.Constraint constraint, Vector initialValue ) : System
costFunction QLNet.CostFunction
constraint QLNet.Constraint
initialValue Vector
return System

constraint() public method

public constraint ( ) : QLNet.Constraint
return QLNet.Constraint

costFunction() public method

public costFunction ( ) : QLNet.CostFunction
return QLNet.CostFunction

currentValue() public method

public currentValue ( ) : Vector
return Vector

functionEvaluation() public method

public functionEvaluation ( ) : int
return int

functionValue() public method

public functionValue ( ) : double
return double

gradient() public method

public gradient ( Vector grad_f, Vector x ) : void
grad_f Vector
x Vector
return void

gradientEvaluation() public method

public gradientEvaluation ( ) : int
return int

gradientNormValue() public method

public gradientNormValue ( ) : double
return double

reset() public method

public reset ( ) : void
return void

setCurrentValue() public method

public setCurrentValue ( Vector currentValue ) : void
currentValue Vector
return void

setFunctionValue() public method

public setFunctionValue ( double functionValue ) : void
functionValue double
return void

setGradientNormValue() public method

public setGradientNormValue ( double squaredNorm ) : void
squaredNorm double
return void

value() public method

public value ( Vector x ) : double
x Vector
return double

valueAndGradient() public method

public valueAndGradient ( Vector grad_f, Vector x ) : double
grad_f Vector
x Vector
return double

values() public method

public values ( Vector x ) : Vector
x Vector
return Vector

Property Details

constraint_ protected_oe property

protected Constraint,QLNet constraint_
return QLNet.Constraint

costFunction_ protected_oe property

protected CostFunction,QLNet costFunction_
return QLNet.CostFunction

currentValue_ protected_oe property

protected Vector currentValue_
return Vector

functionEvaluation_ protected_oe property

protected int functionEvaluation_
return int

functionValue_ protected_oe property

protected double? functionValue_
return double?