Table of Contents

Class ProbabilityAlwaysDownhill

Namespace
NanoQL.Experimental
Assembly
NanoQL.dll

A probability that accepts only the points that improve on the current one: depending on the problem, the optimizer is then very unlikely to escape a local optimum: QuantLib's ProbabilityAlwaysDownhill.

[Experimental("NQL0001")]
public sealed class ProbabilityAlwaysDownhill : IAnnealingProbability<ProbabilityAlwaysDownhill>
Inheritance
ProbabilityAlwaysDownhill
Implements
Inherited Members

Constructors

ProbabilityAlwaysDownhill()

public ProbabilityAlwaysDownhill()

Methods

Accept(double, double, Vector)

Whether the new point is accepted (QuantLib's operator()).

public bool Accept(double currentValue, double newValue, Vector temp)

Parameters

currentValue double

The current point's value.

newValue double

The new point's value.

temp Vector

Each dimension's temperature.

Returns

bool

true to accept it.

Clone()

A copy, its state included: the copy's next call equals this probability's.

public ProbabilityAlwaysDownhill Clone()

Returns

ProbabilityAlwaysDownhill

The copy.