From: Jim Procter Date: Wed, 3 Nov 2021 11:48:53 +0000 (+0000) Subject: JAL-3916 TODO for improved selection of covering structures X-Git-Tag: Release_2_11_2_0~24^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7cdae9b584c75cb02be8d72e42cdcdf445cc29dd;p=jalview.git JAL-3916 TODO for improved selection of covering structures --- 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();