Header menu logo bristlecone

EndConditions Module

Functions and values

Function or value Description

defaultTolerance

Full Usage: defaultTolerance

Returns: float
Returns: float

improvementCount count interval results iteration

Full Usage: improvementCount count interval results iteration

Parameters:
    count : int
    interval : int
    results : Solution<float> list
    iteration : int

Returns: bool
count : int
interval : int
results : Solution<float> list
iteration : int
Returns: bool

noImprovement chain

Full Usage: noImprovement chain

Parameters:
Returns: bool
chain : Solution<float> list
Returns: bool

stoppedImproving chains minimums

Full Usage: stoppedImproving chains minimums

Parameters:
    chains : int
    minimums : Solution<float> list

Returns: bool

Given a list of solutions, which are ordered most recent first, returns `true` if there are at least `chains` recent results, and the change within the recent results is no more than `tolerance`.

chains : int
minimums : Solution<float> list
Returns: bool

Type something to start searching.