Skip to content

Commit

Permalink
filter modes without real usage in single trip generator
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Dec 30, 2024
1 parent 030475e commit f6f9af8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public List<PlanCandidate> generate(PlanModel planModel, @Nullable Set<String> c

ModeEstimate est = opt.get();

// Not actual used modes are not generated here
if (est.getNoRealUsage()[idx])
continue;

String[] modes = planModel.getCurrentModes();
modes[idx] = est.getMode();

Expand Down

0 comments on commit f6f9af8

Please sign in to comment.