Class SurvivalInfoSorter<T>

java.lang.Object
dk.alexandra.fresco.stat.survival.SurvivalInfoSorter<T>
Type Parameters:
T - A subject for survival analysis.
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<List<T>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Direct Known Subclasses:
SurvivalInfoSorterContinuous, SurvivalInfoSorterDiscrete

public abstract class SurvivalInfoSorter<T>
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<List<T>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Convert an instance of type T into a Pair of a DRes<SInt> and a List<DRes<SInt>> and back for use with Collections.sort(List) to sort on the time of event parameter.
  • Field Details

  • Constructor Details

  • Method Details

    • buildComputation

      public dk.alexandra.fresco.framework.DRes<List<T>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
      Specified by:
      buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<List<T>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>