Changeset 11639 for branches/HeuristicLab.EvolutionTracking
- Timestamp:
- 12/03/14 17:06:39 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/HeuristicLab.EvolutionTracking.Views-3.4.csproj
r11262 r11639 11 11 <RootNamespace>HeuristicLab.EvolutionTracking.Views</RootNamespace> 12 12 <AssemblyName>HeuristicLab.EvolutionTracking.Views-3.4</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 <TargetFrameworkProfile /> 15 16 </PropertyGroup> 16 17 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 22 23 <ErrorReport>prompt</ErrorReport> 23 24 <WarningLevel>4</WarningLevel> 25 <Prefer32Bit>false</Prefer32Bit> 24 26 </PropertyGroup> 25 27 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 30 32 <ErrorReport>prompt</ErrorReport> 31 33 <WarningLevel>4</WarningLevel> 34 <Prefer32Bit>false</Prefer32Bit> 32 35 </PropertyGroup> 33 36 <PropertyGroup> … … 45 48 <ErrorReport>prompt</ErrorReport> 46 49 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 50 <Prefer32Bit>false</Prefer32Bit> 47 51 </PropertyGroup> 48 52 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> … … 54 58 <ErrorReport>prompt</ErrorReport> 55 59 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 60 <Prefer32Bit>false</Prefer32Bit> 56 61 </PropertyGroup> 57 62 <ItemGroup> -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Analyzers/GenealogyAnalyzer.cs
r11390 r11639 294 294 var p = v.Parents.First(); 295 295 if (p.Rank.Equals(generation - 0.5)) 296 // the individual was a product of mutation. since it wasn't selected, we must remove both it and it 's parent296 // the individual was a product of mutation. since it wasn't selected, we must remove both it and its parent 297 297 // ("intermediate" vertex result of crossover) 298 298 discarded.Add(v.Parents.First()); … … 300 300 } 301 301 genealogyGraph.RemoveVertices(discarded); 302 //RemoveUnsuccessfulOffspring();303 302 304 303 return base.Apply(); 305 304 } 306 305 307 // this method works when called before the unsuccesful offspring are removed from the genealogy graph 308 // so it must always be called before RemoveUnsuccessfulOffspring() 306 // for accurate statistics this method should be called before the discarded offspring are removed from the genealogy graph 309 307 private void ComputeSuccessRatios(IGenealogyGraph<T> genealogyGraph) { 310 308 const string successfulOffspringRatioTableHistoryName = "Successful offspring ratios history"; -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/GenealogyGraph/GenealogyGraph.cs
r11502 r11639 177 177 [StorableClass] 178 178 public class GenealogyGraph<T> : GenealogyGraph, IGenealogyGraph<T> where T : class, IItem { 179 public GenealogyGraph() { } 180 private GenealogyGraph(GenealogyGraph original, Cloner cloner) 181 : base(original, cloner) { 182 } 183 public override IDeepCloneable Clone(Cloner cloner) { 184 return new GenealogyGraph<T>(this, cloner); 185 } 179 186 new public IEnumerable<IGenealogyGraphNode<T>> Vertices { 180 187 get { return base.Vertices.Select(x => (IGenealogyGraphNode<T>)x); } -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/HeuristicLab.EvolutionTracking-3.4.csproj
r11253 r11639 11 11 <RootNamespace>HeuristicLab.EvolutionTracking</RootNamespace> 12 12 <AssemblyName>HeuristicLab.EvolutionTracking-3.4</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 <TargetFrameworkProfile /> 15 16 </PropertyGroup> 16 17 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 22 23 <ErrorReport>prompt</ErrorReport> 23 24 <WarningLevel>4</WarningLevel> 25 <Prefer32Bit>false</Prefer32Bit> 24 26 </PropertyGroup> 25 27 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 30 32 <ErrorReport>prompt</ErrorReport> 31 33 <WarningLevel>4</WarningLevel> 34 <Prefer32Bit>false</Prefer32Bit> 32 35 </PropertyGroup> 33 36 <PropertyGroup> … … 45 48 <ErrorReport>prompt</ErrorReport> 46 49 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 50 <Prefer32Bit>false</Prefer32Bit> 47 51 </PropertyGroup> 48 52 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> … … 54 58 <ErrorReport>prompt</ErrorReport> 55 59 <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> 60 <Prefer32Bit>false</Prefer32Bit> 56 61 </PropertyGroup> 57 62 <ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.