Menu

#217 Usage of index vectors in target caches not possible

v1.1.x
fixed
None
v1.1.0
Bug Fix
2017-08-20
2017-07-11
Erik Hänel
No

The usage of an index vector for indexing the elements of a target cache is not possible. NumeRe instead uses only the first element of the index vector as the starting value for a new linear index. Hence assigning the elements to an arbitrary order of target cache elements is not possible.

Analysis:
This may be done using the Indices structure and the corresponding parser function. In addition, it will improve maintainability if the Cache class will get a corresponding method, which can handle multiple writing values combined with the Indices structure.

Implementation:
The implementation was done as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
Not needed - Bug fix.

Tests:
Occured deviation was fixed in revision 190. No additional deviations detected. Fix implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-07-11
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-07-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The usage of an index vector for indexing the elements of a target cache is not possible. NumeRe instead uses only the first element of the index vector as the starting value for a new linear index. Hence assigning the elements to an arbitrary order of target cache elements is not possible.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-07-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     The usage of an index vector for indexing the elements of a target cache is not possible. NumeRe instead uses only the first element of the index vector as the starting value for a new linear index. Hence assigning the elements to an arbitrary order of target cache elements is not possible.
    
     **Analysis:**
    +This may be done using the `Indices` structure and the corresponding parser function. In addition, it will improve maintainability if the `Cache` class will get a corresponding method, which can handle multiple writing values combined with the `Indices` structure.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-07-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     This may be done using the `Indices` structure and the corresponding parser function. In addition, it will improve maintainability if the `Cache` class will get a corresponding method, which can handle multiple writing values combined with the `Indices` structure.
    
     **Implementation:**
    +The implementation was done as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +Not needed - Bug fix.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-08-20
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     Not needed - Bug fix.
    
     **Tests:**
    +Occured deviation was fixed in revision 190. No additional deviations detected. Fix implemented successfully.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB