Class AbstractNXYSignificanceHeuristicTestCase


public abstract class AbstractNXYSignificanceHeuristicTestCase extends AbstractSignificanceHeuristicTestCase
Abstract test case for testing NXY significant term heuristics
  • Constructor Details

    • AbstractNXYSignificanceHeuristicTestCase

      public AbstractNXYSignificanceHeuristicTestCase()
  • Method Details

    • getHeuristic

      protected SignificanceHeuristic getHeuristic()
      Specified by:
      getHeuristic in class AbstractSignificanceHeuristicTestCase
      Returns:
      A random instance of the heuristic to test
    • getHeuristic

      protected abstract SignificanceHeuristic getHeuristic(boolean includeNegatives, boolean backgroundIsSuperset)
      Parameters:
      includeNegatives - value for this test run, should the scores include negative values.
      backgroundIsSuperset - value for this test run, indicates in NXY significant terms if the background is indeed a superset of the the subset, or is instead a disjoint set
      Returns:
      A random instance of an NXY heuristic to test
    • testBasicScoreProperties

      public void testBasicScoreProperties()
      Overrides:
      testBasicScoreProperties in class AbstractSignificanceHeuristicTestCase