Header menu logo bristlecone

Solver Module

Nelder–Mead downhill simplex

Types

Type Description

Amoeba

Settings

Functions and values

Function or value Description

Default

Full Usage: Default

Returns: Settings
Returns: Settings

centroid a

Full Usage: centroid a

Parameters:
Returns: TypedTensor<Vector, MeasureProduct<optim-space, MeasureOne>>

contract c w s

Full Usage: contract c w s

Parameters:
Returns: TypedTensor<'a, 'u>
c : Point
w : Point
s : Settings
Returns: TypedTensor<'a, 'u>

evaluate f x

Full Usage: evaluate f x

Parameters:
Returns: TypedTensor<Scalar, MeasureProduct<-logL, MeasureOne>> * Point

expand c r s

Full Usage: expand c r s

Parameters:
Returns: TypedTensor<'a, 'u>
c : Point
r : Point
s : Settings
Returns: TypedTensor<'a, 'u>

fscale s

Full Usage: fscale s

Parameters:
    s : float

Returns: TypedTensor<Scalar, MeasureOne>
s : float
Returns: TypedTensor<Scalar, MeasureOne>

reflect c w s

Full Usage: reflect c w s

Parameters:
Returns: TypedTensor<'a, 'u>
c : Point
w : Point
s : Settings
Returns: TypedTensor<'a, 'u>

replace a (arg2, arg2)

Full Usage: replace a (arg2, arg2)

Parameters:
Returns: Amoeba
a : Amoeba
arg1 : float<MeasureProduct<-logL, MeasureOne>>
arg2 : Point
Returns: Amoeba

shrink a f s

Full Usage: shrink a f s

Parameters:
Returns: Amoeba
a : Amoeba
f : Objective
s : Settings
Returns: Amoeba

shrinkTowardsBest best x s

Full Usage: shrinkTowardsBest best x s

Parameters:
Returns: TypedTensor<'a, 'u>
best : Point
x : Point
s : Settings
Returns: TypedTensor<'a, 'u>

solve settings rng writeOut endCondition domain arg6 f

Full Usage: solve settings rng writeOut endCondition domain arg6 f

Parameters:
Returns: Solution list
settings : Settings
rng : Random
writeOut : LogEvent -> unit
endCondition : Solution list -> int<MeasureProduct<iteration, MeasureOne>> -> OptimStopReason
domain : (float<MeasureProduct<optim-space, MeasureOne>> * float<MeasureProduct<optim-space, MeasureOne>> * Constraint)[]
arg5 : 'a
f : Objective
Returns: Solution list

swarm settings rng logger numberOfLevels endCondition numberOfAmoeba paramBounds startPoint f

Full Usage: swarm settings rng logger numberOfLevels endCondition numberOfAmoeba paramBounds startPoint f

Parameters:
Returns: Solution
settings : Settings
rng : Random
logger : LogEvent -> unit
numberOfLevels : int
endCondition : Solution list -> int<MeasureProduct<iteration, MeasureOne>> -> OptimStopReason
numberOfAmoeba : int
paramBounds : Domain
startPoint : 'a
f : Objective
Returns: Solution

toFloatLogL (l, p)

Full Usage: toFloatLogL (l, p)

Parameters:
Returns: float<'u> * 'a
l : TypedTensor<Scalar, 'u>
p : 'a
Returns: float<'u> * 'a

update a f s

Full Usage: update a f s

Parameters:
Returns: Amoeba
a : Amoeba
f : Objective
s : Settings
Returns: Amoeba

valueOf (arg1, arg1)

Full Usage: valueOf (arg1, arg1)

Parameters:
Returns: float<MeasureProduct<-logL, MeasureOne>>

Type something to start searching.