Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5267


Ignore:
Timestamp:
01/10/11 15:48:06 (13 years ago)
Author:
cneumuel
Message:

#1215

  • optimized memory consumption
Location:
branches/HeuristicLab.MetaOptimization
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.MetaOptimization.Test/HeuristicLab.MetaOptimization.Test.csproj

    r5212 r5267  
    4545  <ItemGroup>
    4646    <Reference Include="ALGLIB-2.5.0">
    47       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ALGLIB-2.5.0.dll</HintPath>
     47      <HintPath>C:\Program Files\HeuristicLab 3.3\ALGLIB-2.5.0.dll</HintPath>
    4848    </Reference>
    4949    <Reference Include="ALGLIB-3.1.0">
    50       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ALGLIB-3.1.0.dll</HintPath>
     50      <HintPath>C:\Program Files\HeuristicLab 3.3\ALGLIB-3.1.0.dll</HintPath>
    5151    </Reference>
    5252    <Reference Include="Google.ProtocolBuffers-0.9.1">
    53       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Google.ProtocolBuffers-0.9.1.dll</HintPath>
     53      <HintPath>C:\Program Files\HeuristicLab 3.3\Google.ProtocolBuffers-0.9.1.dll</HintPath>
    5454    </Reference>
    5555    <Reference Include="HeuristicLab.ALGLIB-2.5.0">
    56       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-2.5.0.dll</HintPath>
     56      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-2.5.0.dll</HintPath>
    5757    </Reference>
    5858    <Reference Include="HeuristicLab.ALGLIB-3.1.0">
    59       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-3.1.0.dll</HintPath>
     59      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ALGLIB-3.1.0.dll</HintPath>
    6060    </Reference>
    6161    <Reference Include="HeuristicLab.Algorithms.DataAnalysis-3.3">
    62       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis-3.3.dll</HintPath>
     62      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis-3.3.dll</HintPath>
    6363    </Reference>
    6464    <Reference Include="HeuristicLab.Algorithms.DataAnalysis.Views-3.3">
    65       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis.Views-3.3.dll</HintPath>
     65      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis.Views-3.3.dll</HintPath>
    6666    </Reference>
    6767    <Reference Include="HeuristicLab.Algorithms.EvolutionStrategy-3.3">
    68       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.EvolutionStrategy-3.3.dll</HintPath>
     68      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.EvolutionStrategy-3.3.dll</HintPath>
    6969    </Reference>
    7070    <Reference Include="HeuristicLab.Algorithms.GeneticAlgorithm-3.3">
    71       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath>
     71      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath>
    7272    </Reference>
    7373    <Reference Include="HeuristicLab.Algorithms.LocalSearch-3.3">
    74       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.LocalSearch-3.3.dll</HintPath>
     74      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.LocalSearch-3.3.dll</HintPath>
    7575    </Reference>
    7676    <Reference Include="HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3">
    77       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath>
     77      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath>
    7878    </Reference>
    7979    <Reference Include="HeuristicLab.Algorithms.SimulatedAnnealing-3.3">
    80       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.SimulatedAnnealing-3.3.dll</HintPath>
     80      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.SimulatedAnnealing-3.3.dll</HintPath>
    8181    </Reference>
    8282    <Reference Include="HeuristicLab.Algorithms.TabuSearch-3.3">
    83       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.TabuSearch-3.3.dll</HintPath>
     83      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.TabuSearch-3.3.dll</HintPath>
    8484    </Reference>
    8585    <Reference Include="HeuristicLab.Analysis-3.3">
    86       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis-3.3.dll</HintPath>
     86      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis-3.3.dll</HintPath>
    8787    </Reference>
    8888    <Reference Include="HeuristicLab.Analysis.Views-3.3">
    89       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis.Views-3.3.dll</HintPath>
     89      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Analysis.Views-3.3.dll</HintPath>
    9090    </Reference>
    9191    <Reference Include="HeuristicLab.Clients.Common-3.3">
    92       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Clients.Common-3.3.dll</HintPath>
     92      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Clients.Common-3.3.dll</HintPath>
    9393    </Reference>
    9494    <Reference Include="HeuristicLab.CodeEditor-3.3">
    95       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.CodeEditor-3.3.dll</HintPath>
     95      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.CodeEditor-3.3.dll</HintPath>
    9696    </Reference>
    9797    <Reference Include="HeuristicLab.Collections-3.3">
    98       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Collections-3.3.dll</HintPath>
     98      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Collections-3.3.dll</HintPath>
    9999    </Reference>
    100100    <Reference Include="HeuristicLab.Common-3.3">
    101       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath>
     101      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath>
    102102    </Reference>
    103103    <Reference Include="HeuristicLab.Common.Resources-3.3">
    104       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Common.Resources-3.3.dll</HintPath>
     104      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common.Resources-3.3.dll</HintPath>
    105105    </Reference>
    106106    <Reference Include="HeuristicLab.Core-3.3">
    107       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath>
     107      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath>
    108108    </Reference>
    109109    <Reference Include="HeuristicLab.Core.Views-3.3">
    110       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath>
     110      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath>
    111111    </Reference>
    112112    <Reference Include="HeuristicLab.Data-3.3">
    113       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath>
     113      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath>
    114114    </Reference>
    115115    <Reference Include="HeuristicLab.Data.Views-3.3">
    116       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath>
     116      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath>
    117117    </Reference>
    118118    <Reference Include="HeuristicLab.DataAccess-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    119       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.DataAccess-3.3.dll</HintPath>
     119      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.DataAccess-3.3.dll</HintPath>
    120120    </Reference>
    121121    <Reference Include="HeuristicLab.Encodings.BinaryVectorEncoding-3.3">
    122       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll</HintPath>
     122      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll</HintPath>
    123123    </Reference>
    124124    <Reference Include="HeuristicLab.Encodings.IntegerVectorEncoding-3.3">
    125       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.dll</HintPath>
     125      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.dll</HintPath>
    126126    </Reference>
    127127    <Reference Include="HeuristicLab.Encodings.PermutationEncoding-3.3">
    128       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.dll</HintPath>
     128      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.dll</HintPath>
    129129    </Reference>
    130130    <Reference Include="HeuristicLab.Encodings.PermutationEncoding.Views-3.3">
    131       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding.Views-3.3.dll</HintPath>
     131      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding.Views-3.3.dll</HintPath>
    132132    </Reference>
    133133    <Reference Include="HeuristicLab.Encodings.RealVectorEncoding-3.3">
    134       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.dll</HintPath>
     134      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.dll</HintPath>
    135135    </Reference>
    136136    <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3">
    137       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.dll</HintPath>
     137      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.dll</HintPath>
    138138    </Reference>
    139139    <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3">
    140       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3.dll</HintPath>
     140      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.3.dll</HintPath>
    141141    </Reference>
    142142    <Reference Include="HeuristicLab.Hive.Contracts-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    143       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Contracts-3.3.dll</HintPath>
     143      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Contracts-3.3.dll</HintPath>
    144144    </Reference>
    145145    <Reference Include="HeuristicLab.Hive.ExperimentManager-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    146       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager-3.3.dll</HintPath>
     146      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager-3.3.dll</HintPath>
    147147    </Reference>
    148148    <Reference Include="HeuristicLab.Hive.ExperimentManager.Views-3.3">
    149       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager.Views-3.3.dll</HintPath>
     149      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.ExperimentManager.Views-3.3.dll</HintPath>
    150150    </Reference>
    151151    <Reference Include="HeuristicLab.Hive.JobBase-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    152       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.JobBase-3.3.dll</HintPath>
     152      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.JobBase-3.3.dll</HintPath>
    153153    </Reference>
    154154    <Reference Include="HeuristicLab.Hive.Server.Console-3.3">
    155       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Console-3.3.dll</HintPath>
     155      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Console-3.3.dll</HintPath>
    156156    </Reference>
    157157    <Reference Include="HeuristicLab.Hive.Server.Core-3.3">
    158       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Core-3.3.dll</HintPath>
     158      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.Core-3.3.dll</HintPath>
    159159    </Reference>
    160160    <Reference Include="HeuristicLab.Hive.Server.DataAccess-3.3">
    161       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.DataAccess-3.3.dll</HintPath>
     161      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.DataAccess-3.3.dll</HintPath>
    162162    </Reference>
    163163    <Reference Include="HeuristicLab.Hive.Server.LINQDataAccess-3.3">
    164       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.LINQDataAccess-3.3.dll</HintPath>
     164      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Server.LINQDataAccess-3.3.dll</HintPath>
    165165    </Reference>
    166166    <Reference Include="HeuristicLab.Hive.Slave.Common-3.3">
    167       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Common-3.3.dll</HintPath>
     167      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Common-3.3.dll</HintPath>
    168168    </Reference>
    169169    <Reference Include="HeuristicLab.Hive.Slave.Communication-3.3">
    170       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Communication-3.3.dll</HintPath>
     170      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Communication-3.3.dll</HintPath>
    171171    </Reference>
    172172    <Reference Include="HeuristicLab.Hive.Slave.Console-3.3">
    173       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Console-3.3.dll</HintPath>
     173      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Console-3.3.dll</HintPath>
    174174    </Reference>
    175175    <Reference Include="HeuristicLab.Hive.Slave.Core-3.3">
    176       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Core-3.3.dll</HintPath>
     176      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.Core-3.3.dll</HintPath>
    177177    </Reference>
    178178    <Reference Include="HeuristicLab.Hive.Slave.ExecutionEngine-3.3">
    179       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.ExecutionEngine-3.3.dll</HintPath>
     179      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Slave.ExecutionEngine-3.3.dll</HintPath>
    180180    </Reference>
    181181    <Reference Include="HeuristicLab.Hive.Tracing-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    182       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Tracing-3.3.dll</HintPath>
     182      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Hive.Tracing-3.3.dll</HintPath>
    183183    </Reference>
    184184    <Reference Include="HeuristicLab.HiveEngine-3.3">
    185       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.HiveEngine-3.3.dll</HintPath>
     185      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.HiveEngine-3.3.dll</HintPath>
    186186    </Reference>
    187187    <Reference Include="HeuristicLab.LibSVM-1.6.3">
    188       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.LibSVM-1.6.3.dll</HintPath>
     188      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.LibSVM-1.6.3.dll</HintPath>
    189189    </Reference>
    190190    <Reference Include="HeuristicLab.log4net-1.2.10.0">
    191       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.log4net-1.2.10.0.dll</HintPath>
     191      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.log4net-1.2.10.0.dll</HintPath>
    192192    </Reference>
    193193    <Reference Include="HeuristicLab.MainForm-3.3">
    194       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath>
     194      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath>
    195195    </Reference>
    196196    <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3">
    197       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath>
     197      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath>
    198198    </Reference>
    199199    <Reference Include="HeuristicLab.Netron-3.0.2672.12446">
    200       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Netron-3.0.2672.12446.dll</HintPath>
     200      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Netron-3.0.2672.12446.dll</HintPath>
    201201    </Reference>
    202202    <Reference Include="HeuristicLab.Operators-3.3">
    203       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators-3.3.dll</HintPath>
     203      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators-3.3.dll</HintPath>
    204204    </Reference>
    205205    <Reference Include="HeuristicLab.Operators.Programmable-3.3">
    206       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Programmable-3.3.dll</HintPath>
     206      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Programmable-3.3.dll</HintPath>
    207207    </Reference>
    208208    <Reference Include="HeuristicLab.Operators.Views-3.3">
    209       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views-3.3.dll</HintPath>
     209      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views-3.3.dll</HintPath>
    210210    </Reference>
    211211    <Reference Include="HeuristicLab.Operators.Views.GraphVisualization-3.3">
    212       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views.GraphVisualization-3.3.dll</HintPath>
     212      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Operators.Views.GraphVisualization-3.3.dll</HintPath>
    213213    </Reference>
    214214    <Reference Include="HeuristicLab.Optimization-3.3">
    215       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization-3.3.dll</HintPath>
     215      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization-3.3.dll</HintPath>
    216216    </Reference>
    217217    <Reference Include="HeuristicLab.Optimization.Operators-3.3">
    218       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Operators-3.3.dll</HintPath>
     218      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Operators-3.3.dll</HintPath>
    219219    </Reference>
    220220    <Reference Include="HeuristicLab.Optimization.Views-3.3">
    221       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Views-3.3.dll</HintPath>
     221      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimization.Views-3.3.dll</HintPath>
    222222    </Reference>
    223223    <Reference Include="HeuristicLab.Optimizer-3.3">
    224       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Optimizer-3.3.dll</HintPath>
     224      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Optimizer-3.3.dll</HintPath>
    225225    </Reference>
    226226    <Reference Include="HeuristicLab.ParallelEngine-3.3">
    227       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ParallelEngine-3.3.dll</HintPath>
     227      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ParallelEngine-3.3.dll</HintPath>
    228228    </Reference>
    229229    <Reference Include="HeuristicLab.Parameters-3.3">
    230       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters-3.3.dll</HintPath>
     230      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters-3.3.dll</HintPath>
    231231    </Reference>
    232232    <Reference Include="HeuristicLab.Parameters.Views-3.3">
    233       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters.Views-3.3.dll</HintPath>
     233      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Parameters.Views-3.3.dll</HintPath>
    234234    </Reference>
    235235    <Reference Include="HeuristicLab.Persistence-3.3">
    236       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath>
     236      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath>
    237237    </Reference>
    238238    <Reference Include="HeuristicLab.Persistence.GUI-3.3">
    239       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence.GUI-3.3.dll</HintPath>
     239      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Persistence.GUI-3.3.dll</HintPath>
    240240    </Reference>
    241241    <Reference Include="HeuristicLab.PluginInfrastructure-3.3">
    242       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>
     242      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>
    243243    </Reference>
    244244    <Reference Include="HeuristicLab.Problems.ArtificialAnt-3.3">
    245       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt-3.3.dll</HintPath>
     245      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt-3.3.dll</HintPath>
    246246    </Reference>
    247247    <Reference Include="HeuristicLab.Problems.ArtificialAnt.Views-3.3">
    248       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt.Views-3.3.dll</HintPath>
     248      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ArtificialAnt.Views-3.3.dll</HintPath>
    249249    </Reference>
    250250    <Reference Include="HeuristicLab.Problems.DataAnalysis-3.3">
    251       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis-3.3.dll</HintPath>
     251      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis-3.3.dll</HintPath>
    252252    </Reference>
    253253    <Reference Include="HeuristicLab.Problems.DataAnalysis.Classification-3.3">
    254       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification-3.3.dll</HintPath>
     254      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification-3.3.dll</HintPath>
    255255    </Reference>
    256256    <Reference Include="HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3">
    257       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3.dll</HintPath>
     257      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Classification.Views-3.3.dll</HintPath>
    258258    </Reference>
    259259    <Reference Include="HeuristicLab.Problems.DataAnalysis.Regression-3.3">
    260       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Regression-3.3.dll</HintPath>
     260      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Regression-3.3.dll</HintPath>
    261261    </Reference>
    262262    <Reference Include="HeuristicLab.Problems.DataAnalysis.Views-3.3">
    263       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Views-3.3.dll</HintPath>
     263      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.DataAnalysis.Views-3.3.dll</HintPath>
    264264    </Reference>
    265265    <Reference Include="HeuristicLab.Problems.ExternalEvaluation-3.3">
    266       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation-3.3.dll</HintPath>
     266      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation-3.3.dll</HintPath>
    267267    </Reference>
    268268    <Reference Include="HeuristicLab.Problems.ExternalEvaluation.GP-3.3">
    269       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP-3.3.dll</HintPath>
     269      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP-3.3.dll</HintPath>
    270270    </Reference>
    271271    <Reference Include="HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3">
    272       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3.dll</HintPath>
     272      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.GP.Views-3.3.dll</HintPath>
    273273    </Reference>
    274274    <Reference Include="HeuristicLab.Problems.ExternalEvaluation.Views-3.3">
    275       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.Views-3.3.dll</HintPath>
     275      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.ExternalEvaluation.Views-3.3.dll</HintPath>
    276276    </Reference>
    277277    <Reference Include="HeuristicLab.Problems.Knapsack-3.3">
    278       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack-3.3.dll</HintPath>
     278      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack-3.3.dll</HintPath>
    279279    </Reference>
    280280    <Reference Include="HeuristicLab.Problems.Knapsack.Views-3.3">
    281       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack.Views-3.3.dll</HintPath>
     281      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.Knapsack.Views-3.3.dll</HintPath>
    282282    </Reference>
    283283    <Reference Include="HeuristicLab.Problems.MetaOptimization-3.3">
    284       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization-3.3.dll</HintPath>
     284      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization-3.3.dll</HintPath>
    285285    </Reference>
    286286    <Reference Include="HeuristicLab.Problems.MetaOptimization.Views-3.3">
    287       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization.Views-3.3.dll</HintPath>
     287      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.MetaOptimization.Views-3.3.dll</HintPath>
    288288    </Reference>
    289289    <Reference Include="HeuristicLab.Problems.OneMax-3.3">
    290       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax-3.3.dll</HintPath>
     290      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax-3.3.dll</HintPath>
    291291    </Reference>
    292292    <Reference Include="HeuristicLab.Problems.OneMax.Views-3.3">
    293       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax.Views-3.3.dll</HintPath>
     293      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.OneMax.Views-3.3.dll</HintPath>
    294294    </Reference>
    295295    <Reference Include="HeuristicLab.Problems.TestFunctions-3.3">
    296       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions-3.3.dll</HintPath>
     296      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions-3.3.dll</HintPath>
    297297    </Reference>
    298298    <Reference Include="HeuristicLab.Problems.TestFunctions.Views-3.3">
    299       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions.Views-3.3.dll</HintPath>
     299      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TestFunctions.Views-3.3.dll</HintPath>
    300300    </Reference>
    301301    <Reference Include="HeuristicLab.Problems.TravelingSalesman-3.3">
    302       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman-3.3.dll</HintPath>
     302      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman-3.3.dll</HintPath>
    303303    </Reference>
    304304    <Reference Include="HeuristicLab.Problems.TravelingSalesman.Views-3.3">
    305       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman.Views-3.3.dll</HintPath>
     305      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.TravelingSalesman.Views-3.3.dll</HintPath>
    306306    </Reference>
    307307    <Reference Include="HeuristicLab.Problems.VehicleRouting-3.3">
    308       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting-3.3.dll</HintPath>
     308      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting-3.3.dll</HintPath>
    309309    </Reference>
    310310    <Reference Include="HeuristicLab.Problems.VehicleRouting.Views-3.3">
    311       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting.Views-3.3.dll</HintPath>
     311      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Problems.VehicleRouting.Views-3.3.dll</HintPath>
    312312    </Reference>
    313313    <Reference Include="HeuristicLab.ProtobufCS-0.9.1">
    314       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.ProtobufCS-0.9.1.dll</HintPath>
     314      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.ProtobufCS-0.9.1.dll</HintPath>
    315315    </Reference>
    316316    <Reference Include="HeuristicLab.Random-3.3">
    317       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Random-3.3.dll</HintPath>
     317      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Random-3.3.dll</HintPath>
    318318    </Reference>
    319319    <Reference Include="HeuristicLab.Selection-3.3">
    320       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Selection-3.3.dll</HintPath>
     320      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Selection-3.3.dll</HintPath>
    321321    </Reference>
    322322    <Reference Include="HeuristicLab.SequentialEngine-3.3">
    323       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.SequentialEngine-3.3.dll</HintPath>
     323      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.SequentialEngine-3.3.dll</HintPath>
    324324    </Reference>
    325325    <Reference Include="HeuristicLab.SharpDevelop-3.1.1.5327">
    326       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.SharpDevelop-3.1.1.5327.dll</HintPath>
     326      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.SharpDevelop-3.1.1.5327.dll</HintPath>
    327327    </Reference>
    328328    <Reference Include="HeuristicLab.Tracing-3.3">
    329       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>
     329      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Tracing-3.3.dll</HintPath>
    330330    </Reference>
    331331    <Reference Include="HeuristicLab.Visualization.ChartControlsExtensions-3.3">
    332       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath>
     332      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath>
    333333    </Reference>
    334334    <Reference Include="HeuristicLab.WinFormsUI-2.3.1">
    335       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.WinFormsUI-2.3.1.dll</HintPath>
     335      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.WinFormsUI-2.3.1.dll</HintPath>
    336336    </Reference>
    337337    <Reference Include="ICSharpCode.NRefactory">
    338       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.NRefactory.dll</HintPath>
     338      <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.NRefactory.dll</HintPath>
    339339    </Reference>
    340340    <Reference Include="ICSharpCode.SharpDevelop.Dom">
    341       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.SharpDevelop.Dom.dll</HintPath>
     341      <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.SharpDevelop.Dom.dll</HintPath>
    342342    </Reference>
    343343    <Reference Include="ICSharpCode.SharpZipLib">
    344       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.SharpZipLib.dll</HintPath>
     344      <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.SharpZipLib.dll</HintPath>
    345345    </Reference>
    346346    <Reference Include="ICSharpCode.TextEditor">
    347       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\ICSharpCode.TextEditor.dll</HintPath>
     347      <HintPath>C:\Program Files\HeuristicLab 3.3\ICSharpCode.TextEditor.dll</HintPath>
    348348    </Reference>
    349349    <Reference Include="LibSVM-1.6.3">
    350       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\LibSVM-1.6.3.dll</HintPath>
     350      <HintPath>C:\Program Files\HeuristicLab 3.3\LibSVM-1.6.3.dll</HintPath>
    351351    </Reference>
    352352    <Reference Include="log4net">
    353       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\log4net.dll</HintPath>
     353      <HintPath>C:\Program Files\HeuristicLab 3.3\log4net.dll</HintPath>
    354354    </Reference>
    355355    <Reference Include="Mono.Cecil">
    356       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Mono.Cecil.dll</HintPath>
     356      <HintPath>C:\Program Files\HeuristicLab 3.3\Mono.Cecil.dll</HintPath>
    357357    </Reference>
    358358    <Reference Include="Netron.Diagramming.Core-3.0.2672.12446">
    359       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\Netron.Diagramming.Core-3.0.2672.12446.dll</HintPath>
     359      <HintPath>C:\Program Files\HeuristicLab 3.3\Netron.Diagramming.Core-3.0.2672.12446.dll</HintPath>
    360360    </Reference>
    361361    <Reference Include="System" />
     
    366366    <Reference Include="System.Xml" />
    367367    <Reference Include="WeifenLuo.WinFormsUI.Docking-2.3.1">
    368       <HintPath>..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\WeifenLuo.WinFormsUI.Docking-2.3.1.dll</HintPath>
     368      <HintPath>C:\Program Files\HeuristicLab 3.3\WeifenLuo.WinFormsUI.Docking-2.3.1.dll</HintPath>
    369369    </Reference>
    370370  </ItemGroup>
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.MetaOptimization.Test/Program.cs

    r5262 r5267  
    3737
    3838    static void Main(string[] args) {
     39      ContentManager.Initialize(new PersistenceContentManager());
     40
    3941      //TestTableBuilder();
    4042      //TestShorten();
     
    5153      //TestAlgorithmPerformanceIssue();
    5254      //TestWaitAny();
    53       TestExecutionTimeUpdateInvervalPerformance();
     55      //TestExecutionTimeUpdateInvervalPerformance();
     56      TestMemoryConsumption();
    5457      return;
    5558
     
    8285    }
    8386
     87    private static void TestMemoryConsumption() {
     88      Queue<TimeSpan> latestExecutionTimes = new Queue<TimeSpan>();
     89      GeneticAlgorithm ga = new GeneticAlgorithm();
     90      ga.PopulationSize.Value = 3;
     91      ga.MaximumGenerations.Value = 1;
     92      ga.Engine = new SequentialEngine.SequentialEngine();
     93
     94      MetaOptimizationProblem metaOptimizationProblem = new MetaOptimizationProblem();
     95      metaOptimizationProblem.Repetitions = new IntValue(metaProblemRepetitions);
     96      GeneticAlgorithm metaLevelAlgorithm = GetMetaGA(metaOptimizationProblem);
     97      ParameterConfigurationTree algorithmVc = SetupGAAlgorithm(ga, metaOptimizationProblem);
     98      Stopwatch sw = new Stopwatch();
     99
     100      var algs = new List<IAlgorithm>();
     101      for (int i = 0; i < 10000; i++) {
     102        sw.Start();
     103        GeneticAlgorithm clonedGa = (GeneticAlgorithm)ga.Clone();
     104        clonedGa.Name = "CLONED GA";
     105        algorithmVc.Parameterize(clonedGa);
     106        algs.Add(clonedGa);
     107        sw.Reset();
     108        ContentManager.Save((IStorableContent)metaLevelAlgorithm, "alg_"+i+".hl", true);
     109        Console.WriteLine("Cloned alg #{0}", i);
     110      }
     111    }
     112
    84113    private static void TestExecutionTimeUpdateInvervalPerformance() {
    85114      TableBuilder tb = new TableBuilder("Tasks", "Interval", "TotalExecutionTime", "AvgExecutionTime", "TimeElapsed", "TotalTimeElapsed", "Speedup", "ExecutionTimeChangedCount", "RealExecutionTimeUpdate(ms)");
    86       int tasks = 32;
     115      int tasks = 4;
    87116      int repetitions = 3;
    88117
     
    130159      for (int i = 0; i < taskCount; i++) {
    131160        GeneticAlgorithm alg = CreateGA();
    132         ((Engine)alg.Engine).ExecutionTimeUpdateInterval = TimeSpan.FromMilliseconds(executionTimeUpdateIntervalMs);
     161        //((Engine)alg.Engine).ExecutionTimeUpdateInterval = TimeSpan.FromMilliseconds(executionTimeUpdateIntervalMs);
    133162        algs[i] = alg;
    134163      }
     
    220249
    221250    private static void TestAlgorithmPerformanceIssue() {
    222       ContentManager.Initialize(new PersistenceContentManager());
    223251      Queue<TimeSpan> latestExecutionTimes = new Queue<TimeSpan>();
    224252      int size = 10;
     
    497525      ConfigurePopulationSize(algorithmVc, 12, 100, 1);
    498526      ConfigureMutationRate(algorithmVc, 0.0, 1.0, 0.01);
    499       //ConfigureMutationOperator(algorithmVc);
     527      ConfigureMutationOperator(algorithmVc);
    500528      ConfigureElites(algorithmVc, 0, 10, 1);
    501       //ConfigureSelectionOperator(algorithmVc, true);
     529      ConfigureSelectionOperator(algorithmVc, true);
    502530      return algorithmVc;
    503531    }
     
    643671
    644672    private static void TestOptimization(EngineAlgorithm metaLevelAlgorithm) {
    645       ContentManager.Initialize(new PersistenceContentManager());
    646673      string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Results");
    647674      if (!Directory.Exists(path))
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ParameterConfigurations/ParameterConfiguration.cs

    r5262 r5267  
    121121    }
    122122
     123    [Storable]
    123124    protected IItemSet<IItem> validValues;
    124125
     
    134135        validTypes = new List<Type>(validTypes) { typeof(NullValue) }.ToArray();
    135136      }
    136       this.ValueConfigurations = new CheckedValueConfigurationCollection(this.CreateValidValues());
    137       this.ActualValue = new ConstrainedValue(valueParameter.Value != null ? (IItem)valueParameter.Value.Clone() : null, valueParameter.DataType, this.CreateValidValues(), this.IsNullable);
     137      this.ValueConfigurations = new CheckedValueConfigurationCollection();
     138      this.ActualValue = new ConstrainedValue(
     139        valueParameter.Value != null ? (IItem)valueParameter.Value.Clone() : null,
     140        valueParameter.DataType,
     141        this.validValues != null ? new ItemSet<IItem>(this.validValues) : CreateValidValues(),
     142        this.IsNullable);
    138143      if (Optimize) {
    139144        PopulateValueConfigurations();
     
    191196          this.ValueConfigurations.Add(new NullValueConfiguration());
    192197        } else {
    193           IItem val = CreateItem(t); // (IItem)Activator.CreateInstance(t);
     198          IItem val;
     199          if (ActualValue.Value != null && ActualValue.ValueDataType == t) {
     200            val = (IItem)ActualValue.Value.Clone(); // use existing value for that type (if available)
     201          } else {
     202            val = CreateItem(t);
     203          }
    194204          this.ValueConfigurations.Add(new ValueConfiguration(val, val.GetType()), true);
    195205        }
     
    198208
    199209    private IEnumerable<Type> GetValidTypes(IValueParameter parameter) {
     210      // in case of IOperator return empty list, otherwise hundreds of types would be returned. this mostly occurs for Successor which will never be optimized
     211      if (parameter.DataType == typeof(IOperator))
     212        return new List<Type>();
     213
    200214      if (IsSubclassOfRawGeneric(typeof(OptionalConstrainedValueParameter<>), parameter.GetType())) {
    201215        var parameterValidValues = (IEnumerable)parameter.GetType().GetProperty("ValidValues").GetValue(parameter, new object[] { });
     
    209223      if (IsSubclassOfRawGeneric(typeof(OptionalConstrainedValueParameter<>), parameter.GetType())) {
    210224        var x = (IEnumerable)parameter.GetType().GetProperty("ValidValues").GetValue(parameter, new object[] { });
    211         return new ItemSet<IItem>(x.Cast<IItem>().Select(y => (IItem)y.Clone()));
     225        return new ItemSet<IItem>(x.Cast<IItem>().Select(y => (IItem)y.Clone())); // cloning actually saves memory, because references to event-subscribers are removed
    212226      } else {
    213227        return null;
     
    226240      IItem value = this.validValues.Where(v => v.GetType() == type).SingleOrDefault();
    227241      if (value != null)
    228         return (IItem)value.Clone();
     242        return value;
    229243
    230244      return null;
     
    234248      var validValues = new ItemSet<IItem>();
    235249      foreach (Type t in this.validTypes) {
    236         validValues.Add(CreateItem(t));
     250        try {
     251          var val = CreateItem(t);
     252          validValues.Add(val);
     253        }
     254        catch (MissingMethodException) { /* Constructor is missing, don't use those types */ }
    237255      }
    238256      return validValues;
Note: See TracChangeset for help on using the changeset viewer.