Add explainer to NaiveBestRun
This commit is contained in:
parent
7885f93ba6
commit
b2fce95b14
1 changed files with 2 additions and 0 deletions
|
@ -502,6 +502,8 @@ fetch_inbatches(PositionList, BatchSize, CDB, CheckedList) ->
|
|||
assess_candidates(AllCandidates, Params) ->
|
||||
MaxRunLength = min(element(1, Params), length(AllCandidates)),
|
||||
NaiveBestRun = lists:sublist(AllCandidates, MaxRunLength),
|
||||
% This will end up being scored twice, but lets take a guess at
|
||||
% the best scoring run to take into the loop
|
||||
FoldFun =
|
||||
fun(RunLength, Best) ->
|
||||
assess_for_runlength(RunLength, AllCandidates, Params, Best)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue