Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/08/18 17:10:53 (6 years ago)
Author:
ddorfmei
Message:

#2931:

  • added license information to all files
  • added missing storable and cloning constructors
  • fixed a bug that caused an exception when a Hive Slave tried to delete the files in the PluginTemp folder
Location:
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/ILinearProgrammingProblemDefinition.cs

    r16233 r16288  
    11#region License Information
    2 
    32/* HeuristicLab
    43 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    1918 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    2019 */
    21 
    22 #endregion License Information
     20#endregion
    2321
    2422using Google.OrTools.LinearSolver;
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblem.cs

    r16233 r16288  
    11#region License Information
    2 
    32/* HeuristicLab
    43 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    1918 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    2019 */
    21 
    22 #endregion License Information
     20#endregion
    2321
    2422using System.Drawing;
     
    4442    }
    4543
    46     private LinearProgrammingProblem(LinearProgrammingProblem original, Cloner cloner)
     44    protected LinearProgrammingProblem(LinearProgrammingProblem original, Cloner cloner)
    4745      : base(original, cloner) {
    4846      RegisterEvents();
     
    5048
    5149    [StorableConstructor]
    52     private LinearProgrammingProblem(bool deserializing) : base(deserializing) { }
     50    protected LinearProgrammingProblem(bool deserializing) : base(deserializing) { }
    5351
    5452    public new static Image StaticItemImage => VSImageLibrary.Script;
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblemDefinitionScript.cs

    r16233 r16288  
    11#region License Information
    2 
    32/* HeuristicLab
    43 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    1918 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    2019 */
    21 
    22 #endregion License Information
     20#endregion
    2321
    2422using System;
     
    3836  [StorableClass]
    3937  public sealed class LinearProgrammingProblemDefinitionScript : Script, ILinearProgrammingProblemDefinition, IStorableContent {
    40     protected bool SuppressEvents { get; set; }
     38    private bool SuppressEvents { get; set; }
    4139
    4240    [Storable]
    43     private VariableStore variableStore;
     41    private readonly VariableStore variableStore;
    4442
    4543    public VariableStore VariableStore => variableStore;
     
    4947
    5048    [StorableConstructor]
    51     protected LinearProgrammingProblemDefinitionScript(bool deserializing) : base(deserializing) { }
     49    private LinearProgrammingProblemDefinitionScript(bool deserializing) : base(deserializing) { }
    5250
    53     protected LinearProgrammingProblemDefinitionScript(LinearProgrammingProblemDefinitionScript original, Cloner cloner)
     51    private LinearProgrammingProblemDefinitionScript(LinearProgrammingProblemDefinitionScript original, Cloner cloner)
    5452      : base(original, cloner) {
    5553      variableStore = cloner.Clone(original.variableStore);
     
    6563    private volatile ILinearProgrammingProblemDefinition compiledProblemDefinition;
    6664
    67     protected ILinearProgrammingProblemDefinition CompiledProblemDefinition {
     65    private ILinearProgrammingProblemDefinition CompiledProblemDefinition {
    6866      get {
    6967        // double checked locking pattern
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblemDefintion.cs

    r16233 r16288  
    1 using Google.OrTools.LinearSolver;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using Google.OrTools.LinearSolver;
    223using HeuristicLab.Problems.Programmable;
    324
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/ProblemDefinitionScriptException.cs

    r16233 r16288  
    11#region License Information
    2 
    32/* HeuristicLab
    43 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    1918 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    2019 */
    21 
    22 #endregion License Information
     20#endregion
    2321
    2422using System;
Note: See TracChangeset for help on using the changeset viewer.