Changeset 17359
- Timestamp:
- 11/20/19 15:01:31 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Schedule.cs
r17226 r17359 24 24 using System.Linq; 25 25 using System.Text; 26 using HEAL.Attic; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; 28 using HEAL.Attic;29 29 30 30 namespace HeuristicLab.Encodings.ScheduleEncoding { … … 54 54 55 55 [StorableConstructor] 56 pr ivateSchedule(StorableConstructorFlag _) : base(_) { }56 protected Schedule(StorableConstructorFlag _) : base(_) { } 57 57 private Schedule(Schedule original, Cloner cloner) 58 58 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Optimizer/3.3/StartPage.cs
r17251 r17359 138 138 var standardProblems = new List<string> { "ALPSGA_TSP", "ES_Griewank", "OSES_Griewank", "GA_Grouping", "GA_TSP", "GA_VRP", "GE_ArtificialAnt", 139 139 "IslandGA_TSP", "PSO_Rastrigin", 140 "SGP_SantaFe", "GP_Multiplexer", "SGP_Robocode", "SS_VRP", "TS_TSP", "TS_VRP", "VNS_OP" 140 "SGP_SantaFe", "GP_Multiplexer", "SGP_Robocode", "SS_VRP", "TS_TSP", "TS_VRP", "VNS_OP", "VNS_TSP" 141 141 }; 142 142 groupLookup[standardProblemsGroup] = standardProblems; -
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab-3.3/DeepCloneableCloningTest.cs
r17254 r17359 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Data; 28 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 30 using HeuristicLab.Optimization; 30 31 using HeuristicLab.PluginInfrastructure; 31 using HeuristicLab.Problems.TravelingSalesman;32 32 using Microsoft.VisualStudio.TestTools.UnitTesting; 33 33 … … 48 48 typeof (HeuristicLab.Problems.DataAnalysis.ClassificationEnsembleSolution), 49 49 typeof (HeuristicLab.Problems.DataAnalysis.RegressionEnsembleSolution), 50 typeof (HeuristicLab.Problems.Orienteering.DistanceMatrix) 50 typeof (HeuristicLab.Problems.Orienteering.DistanceMatrix), 51 typeof (HeuristicLab.Problems.TravelingSalesman.EuclideanTSPData), 51 52 }; 52 53 excludedTypes.Add(typeof(SymbolicExpressionGrammar).Assembly.GetType("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.EmptySymbolicExpressionTreeGrammar")); 53 54 foreach (var tspData in ApplicationManager.Manager.GetTypes(typeof(ITSPData)))55 excludedTypes.Add(tspData);56 54 57 55 foreach (var symbolType in ApplicationManager.Manager.GetTypes(typeof(Symbol))) … … 129 127 130 128 foreach (object o in intersections) { 129 // check if the object is an immutable value, array, or matrix 130 if (o is IStringConvertibleMatrix m && m.ReadOnly 131 || o is IStringConvertibleValue v && v.ReadOnly 132 || o is IStringConvertibleArray a && a.ReadOnly) { 133 continue; 134 } 131 135 string typeName = o.GetType().FullName; 132 136 if (excludedTypes.Contains(o.GetType())) {
Note: See TracChangeset
for help on using the changeset viewer.