Opened 16 years ago
Closed 16 years ago
#341 closed enhancement (fixed)
Document SubsetGenerator and EnsembleBuilder
Reported by: | Markus Ringnér | Owned by: | Peter |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.4 |
Component: | documentation | Version: | trunk |
Keywords: | Cc: |
Description
Both SubsetGenerator and EnsembleBuilder use a template argument Data (called T for SubsetGenerator). There are some requirements for this type which KernelLookup, MatrixLookup, and MatrixLookupWeighted fulfill. These requirements should be specified and documented as a concept.
Change History (6)
comment:1 Changed 16 years ago by
Component: | test → documentation |
---|
comment:2 Changed 16 years ago by
Owner: | changed from Peter to Markus Ringnér |
---|
comment:3 Changed 16 years ago by
Owner: | changed from Markus Ringnér to Peter |
---|
OK I see, so this ticket should be changed (and split) into 'Document SubsetGenerator and EnsembleBuilder'. Both of these classes are poorly documented and at least it should be made clear that Data can be one of the three Lookups only. I guess EnsembleBuilder will be worked on a lot in a later yat version than 0.4, so it may be premature to do much documentation of it. But SubsetGenerator is relatively fixed after the major revisions on this part of the structure for 0.4 isn't it?
comment:4 Changed 16 years ago by
Status: | new → assigned |
---|---|
Summary: | Document Lookup2D/Data concept → Document SubsetGenerator and EnsembleBuilder |
comment:6 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [1227]) docs for EnsembleBuilder?
Well, the requirement is that the type is MatrixLookup?, MatrixLookupWeighted? or KernelLookup?. Both SubsetGenerator? and EnsembleBuilder? have some specialized code depending on which data type that are used (see e.g. functions
test_data
in EnsembleBuilder).This means two things. 1) you cannot come with your own Data class and make it work with these classes. 2) There is not much of an overlap of requirements, so I'm not sure what we should document here. Seems overkill to create a Concept page saying Concept Data is implemented in MatrixLookup?, MatrixLookupWeighted?, and KernelLookup?.