From 36fb1d0fa1b70ee62dc6073d56176e8c81ceddfd Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 27 Feb 2022 17:31:42 +0100 Subject: Removed some unused code (khuge). Improved optimal solver performance by about 10% using raw transition tables (same for dr step). --- src/steps.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'src/steps.c') diff --git a/src/steps.c b/src/steps.c index 83d105c..3189811 100644 --- a/src/steps.c +++ b/src/steps.c @@ -27,7 +27,6 @@ static int estimate_dr_eofb(DfsArg *arg); static int estimate_drudfin_drud(DfsArg *arg); static int estimate_htr_drud(DfsArg *arg); static int estimate_htrfin_htr(DfsArg *arg); -/*static int estimate_khuge_HTM(DfsArg *arg);*/ static int estimate_nxopt31_HTM(DfsArg *arg); static int estimate_light_HTM(DfsArg *arg); @@ -54,28 +53,6 @@ static char check_drany_msg[100] = "DR must be solved on at least one axis"; /* Optimal solvers *******************/ -/* This is not used anymore, I'll keep it just in case */ -/* -Step -optimal_khuge_HTM = { - .shortname = "khuge", - .name = "Optimal solve (in HTM) using khuge table", - - .final = true, - .is_done = is_solved, - .estimate = estimate_khuge_HTM, - .ready = check_centers, - .ready_msg = check_centers_msg, - .is_valid = always_valid, - .moveset = &moveset_HTM, - - .pre_trans = uf, - - .tables = {&pd_khuge_HTM, &pd_corners_HTM}, - .ntables = 2, -}; -*/ - Step optimal_HTM = { .shortname = "optimal", @@ -1196,14 +1173,6 @@ estimate_htrfin_htr(DfsArg *arg) return ptableval(&pd_htrfin_htr, arg->cube); } -/* -static int -estimate_khuge_HTM(DfsArg *arg) -{ - return estimate_nxoptlike(arg, &pd_khuge_HTM); -} -*/ - static int estimate_nxopt31_HTM(DfsArg *arg) { -- cgit v1.3