diff --git a/r2sol.cc b/r2sol.cc index 92d8a1986d644d2216d71069dfbc3bf4bed071f2..869284f770b263b3cf5e1e617001ef2d409d3537 100644 --- a/r2sol.cc +++ b/r2sol.cc @@ -2025,8 +2025,8 @@ void ReinitDataStructures() { MAX_DONE_AGENTS = 0; MIN_COST = 1e10; for (int aid = 0; aid < N; ++aid) path[aid].tmax = -1000; - xor128[0].reset(20190114U); - for (int tid = 1; tid < MAX_NUM_THREADS; ++tid) xor128[tid].reset(199997U * tid + 29997U); + xor128[0].reset(13U); + for (int tid = 1; tid < MAX_NUM_THREADS; ++tid) xor128[tid].reset(19997U * tid + 997U); for (int tid = 0; tid < MAX_NUM_THREADS; ++tid) { can_reach_idx[tid] = is_covered_idx[tid] = 0; auto& can_reach_tid = can_reach[tid]; @@ -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 = 4;//5; + const int kMaxNumAdjustIPathsWithoutFullPlanRegenartion = 3;//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*/9); + RegenerateFullPlan(4, TINIT == 0 ? 20 : /*10*/8); num_adjust_ipaths_without_full_plan_regeneration = 0; } else { assert(TINIT >= 1);