mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 07:30:21 +00:00
Adds an extra termination condition for the multimachine.
This commit is contained in:
parent
23105956d6
commit
6b8c223804
@ -81,7 +81,10 @@ void MultiMachine::multi_crt_did_run_machines() {
|
|||||||
crt_machine_.did_change_machine_order();
|
crt_machine_.did_change_machine_order();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(machines_.front()->crt_machine()->get_confidence() > 0.9) {
|
if(
|
||||||
|
(machines_.front()->crt_machine()->get_confidence() > 0.9f) ||
|
||||||
|
(machines_.front()->crt_machine()->get_confidence() >= 2.0f * machines_[1]->crt_machine()->get_confidence())
|
||||||
|
) {
|
||||||
pick_first();
|
pick_first();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user