acceptanceFunction

protected fun acceptanceFunction(currentX: DoubleArray, proposedY: DoubleArray): Double(source)

Computes the acceptance function for each step

Return

the evaluated acceptance function

Parameters

currentX

the current state

proposedY

the proposed state