Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/VantagePointTree.cs

    r14862 r14927  
    9393        heap.RemoveMin();
    9494      }
    95       res.Reverse(); 
     95      res.Reverse();
    9696      dist.Reverse();
    9797      results = res;
     
    104104      if (dist < tau) {
    105105        if (heap.Size == k) heap.RemoveMin();   // remove furthest node from result list (if we already have k results)
    106         heap.Insert(-dist, new IndexedItem<double>(node.index, dist));     
     106        heap.Insert(-dist, new IndexedItem<double>(node.index, dist));
    107107        if (heap.Size == k) tau = heap.PeekMinValue().Value;
    108108      }
Note: See TracChangeset for help on using the changeset viewer.