Proposals:Refactoring Statistics Framework 2007: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
ITK: Statistical Framework Refactoring
ITK: Statistical Framework Refactoring


= Summary  
= Summary =


== Motivation ==
== Motivation ==
Line 19: Line 19:


* Review all iterators used in the Statistics framework and add tests for their functionalities until bringing their code coverage to 100%
* Review all iterators used in the Statistics framework and add tests for their functionalities until bringing their code coverage to 100%
* Restructure the impolementation of the Subsample class, to make sure that
* Restructure the implementation of the Subsample class, to make sure that
** It can be used in any place where a sample can be used.
** It can be used in any place where a sample can be used.
** Subsampling can be nested without breaking the consistency of the statistical operation.
** Sub-sampling can be nested without breaking the consistency of the statistical operation.


== Schedule ==
== Schedule ==

Revision as of 13:05, 26 March 2007

ITK: Statistical Framework Refactoring

Summary

Motivation

Recently it has been found that certain characteristics of the Statistical Framework API could be improved in order to provide a more consistent inteface.

In particular, issues have been pointed out regarding the following topics

  • Iterators
  • Samples versus Subsamples
  • Statistical calculator integrated into the pipeline


Tasks

The proposed refactoring will include the following specific tasks

  • Review all iterators used in the Statistics framework and add tests for their functionalities until bringing their code coverage to 100%
  • Restructure the implementation of the Subsample class, to make sure that
    • It can be used in any place where a sample can be used.
    • Sub-sampling can be nested without breaking the consistency of the statistical operation.

Schedule

The refactoring tasks will be initiated on March 23rd and will be completed before April 15th 2007

Specific Program

Tasks

Iterators Review

The goal of this task is to ensure that the set of iterators is consistent with the set of data containers and that all the iterators are tested to a 100% code coverage.

List of Data Containers

List of Iterators