TopNManager

Parent: CriteriaManager

Public Members

  • DONE TopNManager(TopNManager) - The copy constructor.
  • DONE Add(string, string, double) - Adds a score name, operator, and value criteria. Makes sure that the column being added is not a duplicate.
  • DONE GetCriteria(int) - Gets CriteriaSet N where N is the rank.
  • DONE GetCriteria(int, int) - Gets CriteriaSet N where N is the rank and passRank is the rank used for numPass.
  • DONE CriteiraSet GetRankingsCriteriaSet() - Returns a criteria set that containes the columns with asc or desc as their operator. Keeps the order of the columns as is set in the manager. (First column is the tie breaker).

Properties

  • DONE MaxN - the largest value for N. Used in the prefilter.

Protected Data

  • DONEmaxN

Exceptions

  • DONE Adding a NaN value when operator not "ASC" or "DESC"
  • DONE Adding a real value when operator "ASC" or "DESC"
  • DONE Adding a score name that exists in the ArrayList of ColumnCriteria.
  • DONE Getting criteria set N larger then maxN

Remarks

  • add "rank <= n" to the criteria set with ignore numpass set to true.
  • for columns that are "ASC" or "DESC" add "columnName_rank <= passRank" to the criteria set (for numpass).
  • for other columns add "name operator value" to the criteria set (for numpass.
  • pass string is built from all the columns "( columnName1 || columnName2 || ... || columnNameN ) && rank"

Edit | Attach | Print version | History: r12 < r11 < r10 < r9 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r11 - 16 Aug 2004, WillGray
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback