Changes between Version 1 and Version 2 of Modules/Matrix


Ignore:
Timestamp:
2010-10-02T12:46:08+02:00 (14 years ago)
Author:
jvelde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Modules/Matrix

    v1 v2  
    3030 * Search the Matrix for a specific search string.
    3131
     32Old design
     33
     34 * MatrixInterface: Interface class with function definitions and all documentation.
     35 * Matrix: Abstract class with most functions implemented.
     36 * xxxMatrix: Regular class which is a flavour of Matrix. Functions implemented here work together with the Abstract functions but are specific for this flavour.
     37
     38{{{
     39#!graphviz
     40digraph components
     41{
     42MatrixInterface -> Matrix
     43Matrix -> DatabaseMatrix
     44Matrix -> BinaryMatrix
     45Matrix -> FileMatrix
     46Matrix -> MemoryMatrix
     47}
     48}}}
     49
     50New design:
     51
     52 * ReadOnlyMatrix: Interface class of the simplest Matrix, so no dependancies and only getter functions.
     53 * EntityMatrix: Interface class of typed ReadOnlyMatrix, uses org.molgenis.util.Entity to type its rows/colums.
     54 * EditableMatrix: Interface class of read/writeable Matrix, has add and remove functions for manipulation.
     55 * MatrixInterface: XGAP specific stuff and complex functions??
     56 * AbstractMatrix: Other complex functions??
     57 * AbstractEntityMatrix: Integrates functionality of high level functions with Entities??
     58 * xxxMatrix: Regular class which is a flavour of Matrix. Functions implemented here work together with the Abstract functions but are specific for this flavour.
     59
     60Current design in xgap_1_4_distro_hax:
     61 
     62{{{
     63#!graphviz
     64digraph components
     65{
     66ReadonlyMatrix -> EditableMatrix
     67ReadonlyMatrix -> EntityMatrix
     68EditableMatrix -> MatrixInterface
     69ReadonlyMatrix -> AbstractMatrix
     70AbstractMatrix -> AbstractEntityMatrix
     71EntityMatrix -> AbstractEntityMatrix
     72AbstractEntityMatrix -> DatabaseMatrix
     73AbstractEntityMatrix -> BinaryMatrix
     74AbstractEntityMatrix -> FileMatrix
     75AbstractEntityMatrix -> MemoryMatrix
     76}
     77}}}
     78
     79Corrected new design??
     80 
     81{{{
     82#!graphviz
     83digraph components
     84{
     85ReadonlyMatrix -> EditableMatrix
     86ReadonlyMatrix -> EntityMatrix
     87EditableMatrix -> MatrixInterface
     88EntityMatrix -> MatrixInterface
     89ReadonlyMatrix -> AbstractMatrix
     90AbstractMatrix -> AbstractEntityMatrix
     91EntityMatrix -> AbstractEntityMatrix
     92AbstractEntityMatrix -> DatabaseMatrix
     93AbstractEntityMatrix -> BinaryMatrix
     94AbstractEntityMatrix -> FileMatrix
     95AbstractEntityMatrix -> MemoryMatrix
     96EditableMatrix -> MemoryMatrix
     97EditableMatrix -> DatabaseMatrix
     98MatrixInterface -> DatabaseMatrix
     99MatrixInterface -> BinaryMatrix
     100MatrixInterface -> FileMatrix
     101MatrixInterface -> MemoryMatrix
     102}
     103}}}
     104
     105
     106
    32107Back to [wiki:Modules]
     108
     109