C# 2.0 (.NET 2005--Whidbey) supports generics
Could make DataContainer use <T>
DataSet would add its row name functionality to DataContainer<double>
Score would add its score generation to DataContainer<double>
InformationSet would be DataContainer<string>
DataContainer
Change from column-major format to row-major format
Change rows to double[] (from ArrayList)
Change column names to static array
Add resize/initialize functionality
Update NumCols property
Update Get/SetDataObject
Update Add/RemoveColumn
Resize when needed
Shift empty columns
Update RemoveColumns
Shift empty columns
Update Add/RemoveRow
Update Merge/Append
Update Trim
Remove all unused columns
DataSet
Update Load & Save
Update Get/SetDataPoint
Update Merge/Append
Score
Update GenerateScores
Resize to the number of columns needed
Update Load & Save
InformationSet
Refactor into a new class that is not a DataContainer
Form1
Resize Scores to the total number of columns needed first
This topic: Main
>
Projects
>
MicroArrayMassSpec
>
GeneralWfccmDesign
>
WfccmGenericDataStructures
Topic revision: revision 3
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback