From 7cdae9b584c75cb02be8d72e42cdcdf445cc29dd Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 3 Nov 2021 11:48:53 +0000 Subject: [PATCH] JAL-3916 TODO for improved selection of covering structures --- src/jalview/gui/structurechooser/TDBResultAnalyser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/structurechooser/TDBResultAnalyser.java b/src/jalview/gui/structurechooser/TDBResultAnalyser.java index d3896a5..a453529 100644 --- a/src/jalview/gui/structurechooser/TDBResultAnalyser.java +++ b/src/jalview/gui/structurechooser/TDBResultAnalyser.java @@ -235,6 +235,8 @@ public class TDBResultAnalyser BitSet cover = new BitSet(); cover.set(seq.getStart(), seq.getEnd()); // walk down the list of structures, selecting some to add to selected + // TODO: could do simple DP - double loop to select largest number of + // structures covering largest number of sites for (FTSData structure : filteredStructures) { Object[] odata = structure.getSummaryData(); -- 1.7.10.2