| 
    casacore
    
   | 
 
This is the virtual base class from which concrete QuantileComputer classes are derived. More...
#include <StatisticsAlgorithmQuantileComputer.h>
Public Member Functions | |
| StatisticsAlgorithmQuantileComputer ()=delete | |
| virtual | ~StatisticsAlgorithmQuantileComputer () | 
| virtual StatisticsAlgorithmQuantileComputer< CASA_STATP > * | clone () const =0 | 
| clone this object by returning a pointer to a copy   | |
| void | deleteSortedArray () | 
| delete any (partially) sorted array   | |
| virtual void | reset () | 
| reset this object by clearing data.   | |
| void | setDataset (StatisticsDataset< CASA_STATP > *ds) | 
| This must be called upon the copy or assignment of the associated statistics algorithm object.   | |
| std::vector< AccumType > & | _getSortedArray () | 
| FIXME make protected once refactor is complete.   | |
| void | _setSortedArray (const std::vector< AccumType > &v) | 
| FIXME make protected once refactor is complete.   | |
| void | setMedian (std::shared_ptr< AccumType > median) | 
Protected Member Functions | |
| StatisticsAlgorithmQuantileComputer (StatisticsDataset< CASA_STATP > *ds) | |
| ds should be the dataset object held in the StatisticsAlgorithm object.   | |
| StatisticsAlgorithmQuantileComputer (const StatisticsAlgorithmQuantileComputer &other) | |
| use copy semantics.   | |
| StatisticsAlgorithmQuantileComputer & | operator= (const StatisticsAlgorithmQuantileComputer &other) | 
| use copy semantics.   | |
| StatisticsDataset< CASA_STATP > * | _getDataset () | 
| std::shared_ptr< AccumType > | _getMedian () const | 
| std::shared_ptr< AccumType > | _getMedianAbsDevMedian () const | 
| void | _setMedianAbsDevMedian (std::shared_ptr< AccumType > medAbsDevMed) | 
Private Attributes | |
| std::vector< AccumType > | _sortedArray | 
| StatisticsDataset< CASA_STATP > * | _dataset | 
| This pointer references the (non-pointer) object in the associated non-QuantileComputer computer object, so this should not be wrapped in a smart pointer.   | |
| std::shared_ptr< AccumType > | _median | 
| std::shared_ptr< AccumType > | _medAbsDevMed | 
This is the virtual base class from which concrete QuantileComputer classes are derived.
The API developer should never explicitly instantiate a QuantileComputer class; they are used internally by other StatsFramework classes. See the documentation of StatisticsAlgorithm for more details.
Definition at line 44 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  delete | 
      
  | 
  virtual | 
      
  | 
  protected | 
ds should be the dataset object held in the StatisticsAlgorithm object.
The QuantileComputer calculator object should never hold its own version of a dataset object. The algorithm object (caller of this method) is always responsible for deleting the passed object, usually upon its destruction.
      
  | 
  protected | 
use copy semantics.
statistics algorithm object's responsibility to set the _dataset object in the new QuantileComputer calculator object upon a copy. The underlying _dataset object in the new stats calculator object should be a reference to the new _dataset object in the copied statistics algorithm object.
      
  | 
  inlineprotected | 
Definition at line 102 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  inlineprotected | 
Definition at line 104 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  inlineprotected | 
Definition at line 106 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  inline | 
FIXME make protected once refactor is complete.
Definition at line 67 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  inlineprotected | 
Definition at line 110 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  inline | 
FIXME make protected once refactor is complete.
Definition at line 70 of file StatisticsAlgorithmQuantileComputer.h.
      
  | 
  pure virtual | 
clone this object by returning a pointer to a copy
Implemented in casacore::ClassicalQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >, casacore::ClassicalQuantileComputer< CASA_STATP >, casacore::ConstrainedRangeQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >, casacore::ConstrainedRangeQuantileComputer< CASA_STATP >, and casacore::HingesFencesQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >.
| void casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::deleteSortedArray | ( | ) | 
delete any (partially) sorted array
      
  | 
  protected | 
use copy semantics.
The _dataset object is not copied. It is the associated statistics algorithm object's responsibility to set the _dataset object in the new QuantileComputer calculator object upon an assignment. The underlying _dataset object in the new stats calculator object should be a reference to that in the newly assigned statistics algorithm object.
      
  | 
  virtual | 
reset this object by clearing data.
Reimplemented in casacore::ClassicalQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >, casacore::ClassicalQuantileComputer< CASA_STATP >, and casacore::HingesFencesQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >.
| void casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::setDataset | ( | StatisticsDataset< CASA_STATP > * | ds | ) | 
This must be called upon the copy or assignment of the associated statistics algorithm object.
Otherwise, there is generally no reason to call it.
      
  | 
  inline | 
Definition at line 72 of file StatisticsAlgorithmQuantileComputer.h.
References casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_median, and casacore::median().
      
  | 
  private | 
This pointer references the (non-pointer) object in the associated non-QuantileComputer computer object, so this should not be wrapped in a smart pointer.
Definition at line 119 of file StatisticsAlgorithmQuantileComputer.h.
Referenced by casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_getDataset().
      
  | 
  private | 
Definition at line 120 of file StatisticsAlgorithmQuantileComputer.h.
Referenced by casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_getMedianAbsDevMedian(), and casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_setMedianAbsDevMedian().
      
  | 
  private | 
Definition at line 120 of file StatisticsAlgorithmQuantileComputer.h.
Referenced by casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_getMedian(), and casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::setMedian().
      
  | 
  private | 
Definition at line 115 of file StatisticsAlgorithmQuantileComputer.h.
Referenced by casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_getSortedArray(), and casacore::StatisticsAlgorithmQuantileComputer< AccumType, DataIterator, MaskIterator, WeightsIterator >::_setSortedArray().