- Timestamp:
- 03/03/17 11:41:43 (8 years ago)
- Location:
- branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/BoolConverter.cs
r13368 r14711 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("BoolConverter", "Converts a ValueTypeValue<bool>, ValueTypeArray<bool>, or ValueTypeMatrix<bool> and adds it to the SolutionMessage's BoolVars or BoolArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class("D2FDE528-079E-4F52-9094-AB17757D7001")]31 [StorableType("D2FDE528-079E-4F52-9094-AB17757D7001")] 32 32 public class BoolConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<bool>), typeof(ValueTypeArray<bool>), typeof(ValueTypeMatrix<bool>) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/DateTimeValueConverter.cs
r13368 r14711 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("DateTimeValueConverter", "Converts a DateTimeValue and adds it to the SolutionMessage's StringVars. The format is yyyy-MM-dd HH:mm:sszzz, e.g. 2010-05-31 19:15:33+01:00.")] 30 [Storable Class("48435B55-095F-489D-8772-F37CAF503B1D")]30 [StorableType("48435B55-095F-489D-8772-F37CAF503B1D")] 31 31 public class DateTimeValueConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(DateTimeValue) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/DoubleConverter.cs
r13368 r14711 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("DoubleConverter", "Converts a ValueTypeValue<double>, ValueTypeArray<double>, or ValueTypeMatrix<double> and adds it to the SolutionMessage's DoubleVars or DoubleArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class("E30FB893-DC93-410A-A74E-FD07330B2622")]31 [StorableType("E30FB893-DC93-410A-A74E-FD07330B2622")] 32 32 public class DoubleConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<double>), typeof(ValueTypeArray<double>), typeof(ValueTypeMatrix<double>) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/IntegerConverter.cs
r13368 r14711 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("IntegerConverter", "Converts a ValueTypeValue<int>, ValueTypeArray<int>, or ValueTypeMatrix<int> and adds it to the SolutionMessage's IntegerVars or IntegerArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 31 [Storable Class("CC1127E7-0F10-4C31-924D-74091BC5E8B6")]31 [StorableType("CC1127E7-0F10-4C31-924D-74091BC5E8B6")] 32 32 public class IntegerConverter : Item, IItemToSolutionMessageConverter { 33 33 private static readonly Type[] itemTypes = new Type[] { typeof(ValueTypeValue<int>), typeof(ValueTypeArray<int>), typeof(ValueTypeMatrix<int>) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/StringConverter.cs
r13368 r14711 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("StringConverter", "Converts a StringValue, StringArray, StringMatrix, IStringConvertibleValue, IStringConvertibleArray, or IStringConvertibleMatrix and adds it to the SolutionMessage's StringVars or StringArrayVars. A matrix is encoded as array by concatenating all rows and setting length as the length of a row.")] 30 [Storable Class("4CFC699A-5BF0-44E8-99B5-42358EB78D52")]30 [StorableType("4CFC699A-5BF0-44E8-99B5-42358EB78D52")] 31 31 public class StringConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(StringValue), typeof(StringArray), typeof(StringMatrix), typeof(IStringConvertibleValue), typeof(IStringConvertibleArray), typeof(IStringConvertibleMatrix) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Converters/TimeSpanValueConverter.cs
r13368 r14711 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("TimeSpanValueConverter", "Converts a TimeSpanValue and adds it to the SolutionMessage's StringVars. The format is d.hh:mm:ss, e.g. 1113.10:55:00 (1113 days 10 hours, 55 minutes, 0 seconds).")] 30 [Storable Class("9B79E328-2BAC-4CD2-876C-A86FA146A207")]30 [StorableType("9B79E328-2BAC-4CD2-876C-A86FA146A207")] 31 31 public class TimeSpanValueConverter : Item, IItemToSolutionMessageConverter { 32 32 private static readonly Type[] itemTypes = new Type[] { typeof(TimeSpanValue) }; -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Drivers/EvaluationChannel.cs
r13368 r14711 27 27 namespace HeuristicLab.Problems.ExternalEvaluation { 28 28 [Item("EvaluationChannel", "Abstract base class for channels to be used in an external evaluation problem.")] 29 [Storable Class("594F3729-E6BE-41BE-9117-255B7A17D40D")]29 [StorableType("594F3729-E6BE-41BE-9117-255B7A17D40D")] 30 30 public abstract class EvaluationChannel : NamedItem, IEvaluationChannel { 31 31 public override bool CanChangeName { get { return false; } } -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Drivers/EvaluationProcessChannel.cs
r13368 r14711 30 30 namespace HeuristicLab.Problems.ExternalEvaluation { 31 31 [Item("EvaluationProcessChannel", "A channel that launches an external application in a new process and communicates with that process via stdin and stdout.")] 32 [Storable Class("9067F50C-CCD0-47F7-A03B-E29B15610C73")]32 [StorableType("9067F50C-CCD0-47F7-A03B-E29B15610C73")] 33 33 public class EvaluationProcessChannel : EvaluationChannel { 34 34 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Drivers/EvaluationServiceClient.cs
r13368 r14711 31 31 namespace HeuristicLab.Problems.ExternalEvaluation { 32 32 [Item("EvaluationServiceClient", "An RPC client that evaluates a solution.")] 33 [Storable Class("AB30EDF1-6188-43A9-8BAF-67F892BA8AA2")]33 [StorableType("AB30EDF1-6188-43A9-8BAF-67F892BA8AA2")] 34 34 public class EvaluationServiceClient : ParameterizedNamedItem, IEvaluationServiceClient { 35 35 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Drivers/EvaluationStreamChannel.cs
r13368 r14711 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("EvaluationStreamChannel", "A channel that communicates via an input and an output stream.")] 31 [Storable Class("2B11783B-9E33-485A-9F59-106EAC9BE40A")]31 [StorableType("2B11783B-9E33-485A-9F59-106EAC9BE40A")] 32 32 public class EvaluationStreamChannel : EvaluationChannel { 33 33 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Drivers/EvaluationTCPChannel.cs
r13368 r14711 30 30 namespace HeuristicLab.Problems.ExternalEvaluation { 31 31 [Item("EvaluationTCPChannel", "A channel that creates a TCP connection over a network.")] 32 [Storable Class("1CDD7F3C-51F7-4D64-BE01-2663DF5509AE")]32 [StorableType("1CDD7F3C-51F7-4D64-BE01-2663DF5509AE")] 33 33 public class EvaluationTCPChannel : EvaluationChannel { 34 34 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/EvaluationCache.cs
r13368 r14711 41 41 42 42 [Item("EvaluationCache", "Cache for external evaluation values")] 43 [Storable Class("FAEB5479-B4D4-4BCC-99C2-D2A6E8F40917")]43 [StorableType("FAEB5479-B4D4-4BCC-99C2-D2A6E8F40917")] 44 44 public class EvaluationCache : ParameterizedNamedItem { 45 45 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs
r13368 r14711 37 37 [Item("External Evaluation Problem (single-objective)", "A problem that is evaluated in a different process.")] 38 38 [Creatable(CreatableAttribute.Categories.ExternalEvaluationProblems, Priority = 100)] 39 [Storable Class("CFB83F63-CF43-4D94-AFD7-997022ABAFE0")]39 [StorableType("CFB83F63-CF43-4D94-AFD7-997022ABAFE0")] 40 40 // BackwardsCompatibility3.3 41 41 // Rename class to SingleObjectiveExternalEvaluationProblem -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/MultiObjectiveExternalEvaluationProblem.cs
r13368 r14711 36 36 [Item("External Evaluation Problem (multi-objective)", "A multi-objective problem that is evaluated in a different process.")] 37 37 [Creatable(CreatableAttribute.Categories.ExternalEvaluationProblems, Priority = 200)] 38 [Storable Class("46F8D88B-FADF-4E9E-867F-7451FE37B6B9")]38 [StorableType("46F8D88B-FADF-4E9E-867F-7451FE37B6B9")] 39 39 public class MultiObjectiveExternalEvaluationProblem : MultiObjectiveBasicProblem<IEncoding>, IExternalEvaluationProblem { 40 40 -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/MultiObjectiveOptimizationSupportScript.cs
r13368 r14711 28 28 namespace HeuristicLab.Problems.ExternalEvaluation { 29 29 [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 30 [Storable Class("868702DE-4514-4F32-8E73-F602D9E8B7A8")]30 [StorableType("868702DE-4514-4F32-8E73-F602D9E8B7A8")] 31 31 public sealed class MultiObjectiveOptimizationSupportScript : OptimizationSupportScript<IMultiObjectiveOptimizationSupport>, IMultiObjectiveOptimizationSupport { 32 32 [StorableConstructor] -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/SingleObjectiveOptimizationSupportScript.cs
r13368 r14711 29 29 namespace HeuristicLab.Problems.ExternalEvaluation { 30 30 [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")] 31 [Storable Class("B494EF47-B663-4015-8022-693E327E2764")]31 [StorableType("B494EF47-B663-4015-8022-693E327E2764")] 32 32 public sealed class SingleObjectiveOptimizationSupportScript : OptimizationSupportScript<ISingleObjectiveOptimizationSupport>, ISingleObjectiveOptimizationSupport { 33 33 [StorableConstructor] -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/Templates.resx
r13183 r14711 119 119 </resheader> 120 120 <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 121 <data name="CompiledMultiObjectiveOptimizationSupport" type="System.Resources.ResXFileRef, System.Windows.Forms">121 <data name="CompiledMultiObjectiveOptimizationSupport" memberSelection="System.Resources.ResXFileRef, System.Windows.Forms"> 122 122 <value>compiledmultiobjectiveoptimizationsupport.cs;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> 123 123 </data> 124 <data name="CompiledSingleObjectiveOptimizationSupport" type="System.Resources.ResXFileRef, System.Windows.Forms">124 <data name="CompiledSingleObjectiveOptimizationSupport" memberSelection="System.Resources.ResXFileRef, System.Windows.Forms"> 125 125 <value>CompiledSingleObjectiveOptimizationSupport.cs;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> 126 126 </data> -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/Protos/ExternalEvaluationMessages.proto
r13180 r14711 67 67 message QualityMessage { 68 68 required int32 solutionId = 1; 69 enum Type{69 enum MemberSelection { 70 70 SingleObjectiveQualityMessage = 1; 71 71 MultiObjectiveQualityMessage = 2; 72 72 } 73 required Type type= 2;73 required Type memberSelection = 2; 74 74 extensions 1000 to max; 75 75 } -
branches/PersistenceOverhaul/HeuristicLab.Problems.ExternalEvaluation/3.4/SolutionMessageBuilder.cs
r13368 r14711 30 30 namespace HeuristicLab.Problems.ExternalEvaluation { 31 31 [Item("SolutionMessageBuilder", "Holds and uses a number of converters to translate HeuristicLab objects into appropriate fields of a solution message.")] 32 [Storable Class("240E62E6-9C29-45FC-A93E-45759CE99B7E")]32 [StorableType("240E62E6-9C29-45FC-A93E-45759CE99B7E")] 33 33 public class SolutionMessageBuilder : NamedItem { 34 34 public override bool CanChangeName { get { return false; } }
Note: See TracChangeset
for help on using the changeset viewer.