Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/05/13 15:23:48 (11 years ago)
Author:
ascheibe
Message:

#1886

  • added liblrs and c# wrapper for vertex enumeration/volume calculation
  • use MIConvexHull for triangulation and volume calculation
  • fixed vertex conversion code for MIConvexHull lib
  • added a unit test for measuring performance of convex hull/volume calculation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/ConvexHullTest.cs

    r10081 r10198  
    7474      for (int i = 0; i < data.Count(); i++) {
    7575        double[] d = data[i];
    76         for (int j = 0; j < d.Length; j++) {
    77           DefaultVertex vertex = new DefaultVertex();
    78           vertex.Position = d.Select(x => x).ToArray();
    79           result.Add(vertex);
    80         }
     76
     77        DefaultVertex vertex = new DefaultVertex();
     78        vertex.Position = d;
     79        result.Add(vertex);
     80
    8181      }
    8282      return result;
Note: See TracChangeset for help on using the changeset viewer.