- Timestamp:
- 04/19/19 09:41:25 (6 years ago)
- Location:
- branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3/HeuristicLab.Problems.PermutationProblems-3.3.csproj
r15686 r16834 10 10 <RootNamespace>HeuristicLab.Problems.PermutationProblems</RootNamespace> 11 11 <AssemblyName>HeuristicLab.Problems.PermutationProblems-3.3</AssemblyName> 12 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>12 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 13 13 <FileAlignment>512</FileAlignment> 14 14 <TargetFrameworkProfile /> … … 38 38 </PropertyGroup> 39 39 <ItemGroup> 40 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 41 <SpecificVersion>False</SpecificVersion> 42 <HintPath>..\..\..\..\trunk\bin\HEAL.Attic.dll</HintPath> 43 </Reference> 40 44 <Reference Include="HeuristicLab.Collections-3.3"> 41 45 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> … … 104 108 </ProjectReference> 105 109 </ItemGroup> 106 <ItemGroup />107 110 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 108 111 <PropertyGroup> -
branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3/LinearOrderingProblem.cs
r16014 r16834 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Optimization; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Problems.Instances; 32 32 … … 34 34 [Item("Linear Ordering Problem (LOP)", "Represents a Linear Ordering Problem")] 35 35 [Creatable(CreatableAttribute.Categories.CombinatorialProblems)] 36 [Storable Class]36 [StorableType("A84D3AAE-8AD2-4502-ACD3-70E62F12841B")] 37 37 public sealed class LinearOrderingProblem : SingleObjectiveBasicProblem<PermutationEncoding>, IProblemInstanceConsumer<LOPData>, IProblemInstanceExporter<LOPData>, IStorableContent { 38 38 private static readonly LOPData DefaultInstance = new LOPData() { … … 48 48 }; 49 49 50 public OptionalValueParameter<Permutation> BestKnownSolutionParameter 51 { 50 public OptionalValueParameter<Permutation> BestKnownSolutionParameter { 52 51 get { return (OptionalValueParameter<Permutation>)Parameters["BestKnownSolution"]; } 53 52 } 54 public Permutation BestKnownSolution 55 { 53 public Permutation BestKnownSolution { 56 54 get { return BestKnownSolutionParameter.Value; } 57 set 58 { 55 set { 59 56 BestKnownSolutionParameter.Value = value; 60 57 } 61 58 } 62 63 public ValueParameter<DoubleMatrix> MatrixParameter 64 { 59 public ValueParameter<DoubleMatrix> MatrixParameter { 65 60 get { return (ValueParameter<DoubleMatrix>)Parameters["Matrix"]; } 66 61 } 67 public DoubleMatrix Matrix 68 { 62 public DoubleMatrix Matrix { 69 63 get { return MatrixParameter.Value; } 70 64 set { MatrixParameter.Value = value; } … … 74 68 75 69 [StorableConstructor] 76 private LinearOrderingProblem( bool deserializing) : base(deserializing) { }70 private LinearOrderingProblem(StorableConstructorFlag _) : base(_) { } 77 71 private LinearOrderingProblem(LinearOrderingProblem original, Cloner cloner) : base(original, cloner) { } 78 72 public LinearOrderingProblem() { … … 112 106 } 113 107 } 114 115 108 public LOPData Export() { 116 109 var result = new LOPData { -
branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3/PermutationFlowshopSchedulingProblem.cs
r16011 r16834 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Optimization; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Problems.Instances; 32 33 32 34 33 namespace HeuristicLab.Problems.PermutationProblems { 35 34 [Item("Permutation Flowshop Scheduling Problem (PFSP)", "Represents a Permutation Flowshop Scheduling Problem")] 36 35 [Creatable(CreatableAttribute.Categories.CombinatorialProblems)] 37 [Storable Class]36 [StorableType("18A7BE3A-5605-493D-A457-12D8B340F489")] 38 37 public sealed class PermutationFlowshopSchedulingProblem : SingleObjectiveBasicProblem<PermutationEncoding>, IProblemInstanceConsumer<FSSPData>, IProblemInstanceExporter<FSSPData> { 39 38 #region Fields … … 55 54 56 55 #region Getter/Setter 57 public OptionalValueParameter<Permutation> BestKnownSolutionParameter 58 { 56 public OptionalValueParameter<Permutation> BestKnownSolutionParameter { 59 57 get { return (OptionalValueParameter<Permutation>)Parameters["BestKnownSolution"]; } 60 58 } 61 public OptionalValueParameter<DoubleMatrix> JobMatrixParameter 62 { 59 public OptionalValueParameter<DoubleMatrix> JobMatrixParameter { 63 60 get { return (OptionalValueParameter<DoubleMatrix>)Parameters["JobMatrix"]; } 64 61 } 65 public Permutation BestKnownSolution 66 { 62 public Permutation BestKnownSolution { 67 63 get { return BestKnownSolutionParameter.Value; } 68 set 69 { 64 set { 70 65 BestKnownSolutionParameter.Value = value; 71 66 if (BestKnownSolutionChanged != null) { OnBestKnownSolutionChanged(); } 72 67 } 73 68 } 74 public DoubleMatrix JobMatrix 75 { 69 public DoubleMatrix JobMatrix { 76 70 get { return JobMatrixParameter.Value; } 77 71 set { JobMatrixParameter.Value = value; } … … 83 77 #region Ctor 84 78 [StorableConstructor] 85 private PermutationFlowshopSchedulingProblem(bool deserializing) : base(deserializing) { } 79 private PermutationFlowshopSchedulingProblem(StorableConstructorFlag _) : base(_) { } 80 86 81 private PermutationFlowshopSchedulingProblem(PermutationFlowshopSchedulingProblem original, Cloner cloner) : base(original, cloner) { } 87 82 public PermutationFlowshopSchedulingProblem() { -
branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3/Plugin.cs
r16011 r16834 22 22 using HeuristicLab.PluginInfrastructure; 23 23 24 namespace HeuristicLab.Problems.PermutationProblems { 25 [Plugin("HeuristicLab.Problems.PermutationProblems", "3.3.15.16003")] 24 namespace HeuristicLab.Problems.PermutationProblems 25 { 26 [Plugin("HeuristicLab.Problems.PermutationProblems", "3.3.15.16014")] 26 27 [PluginFile("HeuristicLab.Problems.PermutationProblems-3.3.dll", PluginFileType.Assembly)] 27 28 [PluginDependency("HeuristicLab.Collections", "3.3")] -
branches/2864_PermutationProblems/HeuristicLab.Problems.PermutationProblems/3.3/Properties/AssemblyInfo.cs
r16010 r16834 54 54 // [assembly: AssemblyVersion("1.0.*")] 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3.15.160 07")]56 [assembly: AssemblyFileVersion("3.3.15.16014")]
Note: See TracChangeset
for help on using the changeset viewer.