Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9000


Ignore:
Timestamp:
12/05/12 13:51:01 (12 years ago)
Author:
abeham
Message:

#1991:

  • Added BidirectionalDictionary for storing 1:1 mapping and BidirectionalLookup for storing M:N mappings
    • I used HashSets in the BidirectionalLookup instead of Lists, because of the difficulty of removing items when custom equality comparers are used.
  • Added unit tests
Location:
trunk/sources
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Collections/3.3/HeuristicLab.Collections-3.3.csproj

    r8610 r9000  
    114114  <ItemGroup>
    115115    <None Include="Plugin.cs.frame" />
     116    <Compile Include="BidirectionalDictionary.cs" />
     117    <Compile Include="BidirectionalLookup.cs" />
    116118    <Compile Include="ReadOnlyObservableKeyedList.cs" />
    117119    <Compile Include="INotifyObservableListItemsChanged.cs" />
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj

    r8888 r9000  
    317317    <Compile Include="HeuristicLab.Algorithms.DataAnalysis-3.4\GaussianProcessRegressionTest.cs" />
    318318    <Compile Include="HeuristicLab.Analysis-3.3\MultidimensionalScalingTest.cs" />
     319    <Compile Include="HeuristicLab.Collections-3.3\BidirectionalDictionaryTest.cs" />
     320    <Compile Include="HeuristicLab.Collections-3.3\BidirectionalLookupTest.cs" />
    319321    <Compile Include="HeuristicLab.Collections-3.3\ObservableKeyedListTest.cs" />
    320322    <Compile Include="HeuristicLab.Encodings.BinaryVectorEncoding-3.3\Auxiliary.cs" />
Note: See TracChangeset for help on using the changeset viewer.