Libraryless. Click here for Pure Java version (5819L/34K).
svoid test_runProbabilisticBinaryMaximumSearch_withFoundInStep() { assertEqualsVerbose(str(WithProbability(.48, FoundInStep(19, 30.078125))), str(first(runProbabilisticBinaryMaximumSearch_withFoundInStep( x -> -abs(30-x), doubleRange(0, 100), 0.5, 1, 25)))); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032068 |
Snippet name: | test_runProbabilisticBinaryMaximumSearch_withFoundInStep |
Eternal ID of this version: | #1032068/1 |
Text MD5: | fc9bab91bc3504a607c92e5d369bb9c5 |
Transpilation MD5: | c8a85412234f3581a30243f926a9a926 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 10:52:52 |
Source code size: | 304 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 134 / 204 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |