Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

Location:
trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Converters/DateTimeValueConverter.cs

    r3881 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2623using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2725using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Data;
    2926
    3027namespace HeuristicLab.Problems.ExternalEvaluation {
     
    5047      }
    5148    }
    52    
     49
    5350    #endregion
    5451
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Converters/StringConverter.cs

    r3881 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2623using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2725using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Data;
    2926
    3027namespace HeuristicLab.Problems.ExternalEvaluation {
     
    3532
    3633    #region IItemToSolutionMessageConverter Members
    37    
     34
    3835    public Type[] ItemTypes {
    3936      get { return itemTypes; }
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Converters/TimeSpanValueConverter.cs

    r3881 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2623using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2725using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Data;
    2926
    3027namespace HeuristicLab.Problems.ExternalEvaluation {
     
    5047      }
    5148    }
    52    
     49
    5350    #endregion
    5451
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Drivers/EvaluationChannel.cs

    r3872 r4068  
    2020#endregion
    2121
    22 using System;
    2322using Google.ProtocolBuffers;
    2423using HeuristicLab.Core;
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Drivers/EvaluationServiceClient.cs

    r3895 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2623using HeuristicLab.Core;
     24using HeuristicLab.Data;
     25using HeuristicLab.Parameters;
    2726using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Parameters;
    29 using HeuristicLab.Data;
    3027
    3128namespace HeuristicLab.Problems.ExternalEvaluation {
     
    5451
    5552    #region IEvaluationServiceClient Members
    56    
     53
    5754    public QualityMessage Evaluate(SolutionMessage solution) {
    5855      int tries = 0, maxTries = RetryParameter.Value.Value;
     
    6663          result = (QualityMessage)Channel.Receive(QualityMessage.CreateBuilder());
    6764          success = true;
    68         } catch (InvalidOperationException) {
     65        }
     66        catch (InvalidOperationException) {
    6967          throw;
    70         } catch {
     68        }
     69        catch {
    7170          if (tries >= maxTries)
    7271            throw;
     
    8584          Channel.Send(solution);
    8685          success = true;
    87         } catch (InvalidOperationException) {
     86        }
     87        catch (InvalidOperationException) {
    8888          throw;
    89         } catch {
     89        }
     90        catch {
    9091          if (tries >= maxTries)
    9192            throw;
     
    102103        try {
    103104          Channel.Open();
    104         } catch (Exception e) {
     105        }
     106        catch (Exception e) {
    105107          throw new InvalidOperationException(Name + ": The channel could not be opened.", e);
    106108        }
     
    112114      try {
    113115        message = (QualityMessage)Channel.Receive(QualityMessage.CreateBuilder());
    114       } catch { }
     116      }
     117      catch { }
    115118      ((Action<QualityMessage>)callback).Invoke(message);
    116119    }
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs

    r3895 r4068  
    2424using System.Drawing;
    2525using System.Linq;
     26using HeuristicLab.Analysis;
    2627using HeuristicLab.Collections;
    2728using HeuristicLab.Common;
     
    2930using HeuristicLab.Data;
    3031using HeuristicLab.Optimization;
     32using HeuristicLab.Optimization.Operators;
    3133using HeuristicLab.Parameters;
    3234using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    33 using HeuristicLab.Optimization.Operators;
    34 using HeuristicLab.Analysis;
    3535
    3636namespace HeuristicLab.Problems.ExternalEvaluation {
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Interfaces/IEvaluationChannel.cs

    r3872 r4068  
    2020#endregion
    2121
    22 using System;
    2322using Google.ProtocolBuffers;
    2423using HeuristicLab.Core;
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/SolutionMessageBuilder.cs

    r3881 r4068  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
     25using HeuristicLab.Collections;
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Collections;
    2928
    3029namespace HeuristicLab.Problems.ExternalEvaluation {
Note: See TracChangeset for help on using the changeset viewer.