Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2195


Ignore:
Timestamp:
07/28/09 15:43:24 (15 years ago)
Author:
gkronber
Message:

Fixed compile errors #712.

Location:
branches/HeuristicLab.Modeling Database Backend/sources
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/DispatcherBase.cs

    r2193 r2195  
    105105
    106106    public IView CreateView() {
    107       return new ProblemView(this);
     107      return new DispatcherView(this);
    108108    }
    109109
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/ExecuterBase.cs

    r2185 r2195  
    3939using System.Threading;
    4040using HeuristicLab.Modeling;
    41 using HeuristicLab.Modeling.SQLServerCompactBackend;
     41using HeuristicLab.Modeling.Database;
    4242
    4343namespace HeuristicLab.CEDMA.Server {
     
    7474
    7575    protected void SetResults(IScope src, IScope target) {
    76       foreach (IVariable v in src.Variables) {
     76      foreach (HeuristicLab.Core.IVariable v in src.Variables) {
    7777        target.AddVariable(v);
    7878      }
     
    8585    }
    8686
    87     protected void StoreResults(IAlgorithm finishedAlgorithm) {
     87    protected void StoreResults(HeuristicLab.Modeling.IAlgorithm finishedAlgorithm) {
    8888      databaseService.Persist(finishedAlgorithm);
    8989      //Entity modelEntity = new Entity(Ontology.CedmaNameSpace + Guid.NewGuid());
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/GridExecuter.cs

    r2185 r2195  
    3939using System.Threading;
    4040using HeuristicLab.Modeling;
    41 using HeuristicLab.Modeling.SQLServerCompactBackend;
     41using HeuristicLab.Modeling.Database;
    4242
    4343namespace HeuristicLab.CEDMA.Server {
    4444  public class GridExecuter : ExecuterBase {
    4545    private JobManager jobManager;
    46     private Dictionary<AsyncGridResult, IAlgorithm> activeAlgorithms;
     46    private Dictionary<AsyncGridResult, HeuristicLab.Modeling.IAlgorithm> activeAlgorithms;
    4747
    4848    private TimeSpan StartJobInterval {
     
    5959
    6060    public GridExecuter(IDispatcher dispatcher,  IGridServer server, IModelingDatabase databaseService)
    61       : base(dispatcher, store, databaseService) {
     61      : base(dispatcher, databaseService) {
    6262      this.jobManager = new JobManager(server);
    63       activeAlgorithms = new Dictionary<AsyncGridResult, IAlgorithm>();
     63      activeAlgorithms = new Dictionary<AsyncGridResult, HeuristicLab.Modeling.IAlgorithm>();
    6464      jobManager.Reset();
    6565    }
     
    7373            Thread.Sleep(StartJobInterval);
    7474            // get an execution from the dispatcher and execute in grid via job-manager
    75             IAlgorithm algorithm = Dispatcher.GetNextJob();
     75            HeuristicLab.Modeling.IAlgorithm algorithm = Dispatcher.GetNextJob();
    7676            if (algorithm != null) {
    7777              AtomicOperation op = new AtomicOperation(algorithm.Engine.OperatorGraph.InitialOperator, algorithm.Engine.GlobalScope);
     
    9393            if (readyHandleIndex != WaitHandle.WaitTimeout) {
    9494              WaitHandle readyHandle = whArr[readyHandleIndex];
    95               IAlgorithm finishedAlgorithm = null;
     95              HeuristicLab.Modeling.IAlgorithm finishedAlgorithm = null;
    9696              AsyncGridResult finishedResult = null;
    9797              lock (activeAlgorithms) {
     
    140140        string[] retVal = new string[activeAlgorithms.Count];
    141141        int i = 0;
    142         foreach (IAlgorithm a in activeAlgorithms.Values) {
     142        foreach (HeuristicLab.Modeling.IAlgorithm a in activeAlgorithms.Values) {
    143143          retVal[i++] = a.Name + " " + a.Dataset.GetVariableName(a.TargetVariable);
    144144        }
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/HeuristicLab.CEDMA.Server-3.3.csproj

    r2194 r2195  
    9191  </ItemGroup>
    9292  <ItemGroup>
     93    <Compile Include="LearningTask.cs" />
     94    <Compile Include="Problem.cs" />
    9395    <Compile Include="ProblemView.cs">
    9496      <SubType>UserControl</SubType>
     
    158160      <Project>{545CE756-98D8-423B-AC2E-6E7D70926E5C}</Project>
    159161      <Name>HeuristicLab.Grid-3.2</Name>
     162    </ProjectReference>
     163    <ProjectReference Include="..\..\HeuristicLab.Modeling.Database.SQLServerCompact\3.2\HeuristicLab.Modeling.Database.SQLServerCompact-3.2.csproj">
     164      <Project>{EC1AA756-D612-4FA6-AA52-25CF4F8E3836}</Project>
     165      <Name>HeuristicLab.Modeling.Database.SQLServerCompact-3.2</Name>
     166    </ProjectReference>
     167    <ProjectReference Include="..\..\HeuristicLab.Modeling.Database\3.2\HeuristicLab.Modeling.Database-3.2.csproj">
     168      <Project>{E84E5717-79F8-498F-A5E0-A055C4EC086B}</Project>
     169      <Name>HeuristicLab.Modeling.Database-3.2</Name>
    160170    </ProjectReference>
    161171    <ProjectReference Include="..\..\HeuristicLab.Modeling\3.2\HeuristicLab.Modeling-3.2.csproj">
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/Problem.cs

    r2193 r2195  
    126126    }
    127127
    128     public override IView CreateView() {
     128    public IView CreateView() {
    129129      return new ProblemView(this);
    130130    }
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/ProblemView.cs

    r2193 r2195  
    3131using HeuristicLab.DataAnalysis;
    3232using System.Diagnostics;
     33using HeuristicLab.CEDMA.Core;
    3334
    3435namespace HeuristicLab.CEDMA.Server {
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs

    r2194 r2195  
    3434using HeuristicLab.Core;
    3535using HeuristicLab.Modeling.Database;
    36 using HeuristicLab.Modeling.Database.SqlServerCompact;
     36using HeuristicLab.Modeling.Database.SQLServerCompact;
    3737
    3838namespace HeuristicLab.CEDMA.Server {
     
    4747    public IExecuter Executer { get { return executer; } }
    4848    private Problem problem;
     49    public Problem Problem { get { return problem; } }
    4950
    5051    private string gridServiceUrl;
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.CEDMA.Server/3.3/ServerApplication.cs

    r2119 r2195  
    3131    public override void Run() {
    3232      Server server = new Server();
    33       server.Start();
    3433      Form mainForm = new Form();
    3534      UserControl serverControl = (UserControl)server.CreateView();
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.Modeling.Database.SQLServerCompact/3.2/DataObjects/Model.cs

    r2194 r2195  
    88namespace HeuristicLab.Modeling.Database.SQLServerCompact {
    99  [Table(Name = "Model")]
    10   public class Model : IModel{
     10  public class Model : IModel {
    1111    public Model() {
    1212      targetVariable = default(EntityRef<Variable>);
     
    9292          if (value != null) {
    9393            targetVariableId = ((Variable)value).Id;
    94           } 
     94          }
    9595        }
    9696      }
  • branches/HeuristicLab.Modeling Database Backend/sources/HeuristicLab.SQLServerCompact/3.2/Properties/AssemblyInfo.cs

    r2194 r2195  
    3434// by using the '*' as shown below:
    3535// [assembly: AssemblyVersion("1.0.*")]
    36 [assembly: AssemblyVersion("3.2.0.2182")]
    37 [assembly: AssemblyFileVersion("3.2.0.2182")]
    38 [assembly: AssemblyBuildDate("2009/07/27 17:16:03")]
     36[assembly: AssemblyVersion("3.2.0.2189")]
     37[assembly: AssemblyFileVersion("3.2.0.2189")]
     38[assembly: AssemblyBuildDate("2009/07/28 14:23:16")]
Note: See TracChangeset for help on using the changeset viewer.