From e90a314f2d36cdaadde5fb26ba953f6c74d30352 Mon Sep 17 00:00:00 2001 From: mugurelionut <mugurelionut@gmail.com> Date: Fri, 27 Dec 2019 19:34:22 +0100 Subject: [PATCH] tune params --- r2sol.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r2sol.cc b/r2sol.cc index 7159b5e..de7c748 100644 --- a/r2sol.cc +++ b/r2sol.cc @@ -2192,10 +2192,10 @@ void GetMoves(const char* testid, bool replay_mode = false) { updated_paths_ok = AdjustIPaths(); ++num_adjust_ipaths_without_full_plan_regeneration; } - const int kMaxNumAdjustIPathsWithoutFullPlanRegenartion = 6;//5; + const int kMaxNumAdjustIPathsWithoutFullPlanRegenartion = 4;//5; const bool full_regenerate_paths = !updated_paths_ok || num_adjust_ipaths_without_full_plan_regeneration > kMaxNumAdjustIPathsWithoutFullPlanRegenartion; if (full_regenerate_paths) { - RegenerateFullPlan(4, TINIT == 0 ? 20 : 10); + RegenerateFullPlan(4, TINIT == 0 ? 20 : /*10*/9); num_adjust_ipaths_without_full_plan_regeneration = 0; } else { assert(TINIT >= 1); -- GitLab