Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9843


Ignore:
Timestamp:
08/02/13 18:29:38 (11 years ago)
Author:
gkronber
Message:

#2026 made the problem field non-static, added a unit test to compile all examples

Location:
branches/HeuristicLab.Problems.GPDL
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/GpdlEditor.cs

    r9842 r9843  
    4646        Parser parser = new Parser(scanner);
    4747        parser.Parse();
    48         MainForm.MainFormManager.MainForm.ShowContent(Parser.problem);
     48        MainForm.MainFormManager.MainForm.ShowContent(parser.problem);
    4949      }
    5050
    5151      codeEditor.ClearErrors();
     52
     53      // TODO adapt to Coco/R error handling to show errors in the GUI
    5254
    5355      //if (Errors.NumOfErrors() == 0) {
  • branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL/3.4/GPDef.atg

    r9842 r9843  
    2828
    2929COMPILER GPDef
    30   public static HeuristicLab.Optimization.IProblem problem;
     30  public HeuristicLab.Optimization.IProblem problem;
    3131 
    3232CHARACTERS
  • branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL/3.4/Parser.cs

    r9842 r9843  
    2828  int errDist = minErrDist;
    2929
    30 public static HeuristicLab.Optimization.IProblem problem;
     30public HeuristicLab.Optimization.IProblem problem;
    3131 
    3232
  • branches/HeuristicLab.Problems.GPDL/Test

    • Property svn:ignore set to
      bin
      obj
  • branches/HeuristicLab.Problems.GPDL/Test/Test.csproj

    r9842 r9843  
    2222    <DebugType>full</DebugType>
    2323    <Optimize>false</Optimize>
    24     <OutputPath>bin\Debug\</OutputPath>
     24    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    2525    <DefineConstants>DEBUG;TRACE</DefineConstants>
    2626    <ErrorReport>prompt</ErrorReport>
     
    3030    <DebugType>pdbonly</DebugType>
    3131    <Optimize>true</Optimize>
    32     <OutputPath>bin\Release\</OutputPath>
     32    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    3333    <DefineConstants>TRACE</DefineConstants>
    3434    <ErrorReport>prompt</ErrorReport>
     
    3636  </PropertyGroup>
    3737  <ItemGroup>
     38    <Reference Include="ALGLIB-3.7.0">
     39      <HintPath>..\..\..\trunk\sources\bin\ALGLIB-3.7.0.dll</HintPath>
     40    </Reference>
     41    <Reference Include="HeuristicLab.Algorithms.GeneticAlgorithm-3.3">
     42      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Algorithms.GeneticAlgorithm-3.3.dll</HintPath>
     43    </Reference>
     44    <Reference Include="HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3">
     45      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.dll</HintPath>
     46    </Reference>
     47    <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     48      <SpecificVersion>False</SpecificVersion>
     49      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath>
     50    </Reference>
     51    <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     52      <SpecificVersion>False</SpecificVersion>
     53      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath>
     54    </Reference>
     55    <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4">
     56      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.dll</HintPath>
     57    </Reference>
     58    <Reference Include="HeuristicLab.Operators-3.3">
     59      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Operators-3.3.dll</HintPath>
     60    </Reference>
     61    <Reference Include="HeuristicLab.Optimization-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     62      <SpecificVersion>False</SpecificVersion>
     63      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath>
     64    </Reference>
     65    <Reference Include="HeuristicLab.Optimization.Operators-3.3">
     66      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Optimization.Operators-3.3.dll</HintPath>
     67    </Reference>
     68    <Reference Include="HeuristicLab.ParallelEngine-3.3">
     69      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.ParallelEngine-3.3.dll</HintPath>
     70    </Reference>
     71    <Reference Include="HeuristicLab.Problems.DataAnalysis-3.4">
     72      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Problems.DataAnalysis-3.4.dll</HintPath>
     73    </Reference>
     74    <Reference Include="HeuristicLab.Problems.Instances-3.3">
     75      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath>
     76    </Reference>
     77    <Reference Include="HeuristicLab.Problems.Instances.DataAnalysis-3.3">
     78      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances.DataAnalysis-3.3.dll</HintPath>
     79    </Reference>
     80    <Reference Include="HeuristicLab.Random-3.3">
     81      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.Random-3.3.dll</HintPath>
     82    </Reference>
     83    <Reference Include="HeuristicLab.SequentialEngine-3.3">
     84      <HintPath>..\..\..\trunk\sources\bin\HeuristicLab.SequentialEngine-3.3.dll</HintPath>
     85    </Reference>
    3886    <Reference Include="System" />
    3987  </ItemGroup>
     
    5199  </Choose>
    52100  <ItemGroup>
     101    <Compile Include="TestGpdlExamples.cs" />
    53102    <Compile Include="TestGpdlCompiler.cs" />
    54103    <Compile Include="Properties\AssemblyInfo.cs" />
    55104  </ItemGroup>
    56105  <ItemGroup>
     106    <ProjectReference Include="..\HeuristicLab.Problems.GPDL.Views\3.4\HeuristicLab.Problems.GPDL.Views-3.4.csproj">
     107      <Project>{3f9e665a-3dcb-49c3-8806-0e47fc48ea52}</Project>
     108      <Name>HeuristicLab.Problems.GPDL.Views-3.4</Name>
     109    </ProjectReference>
    57110    <ProjectReference Include="..\HeuristicLab.Problems.GPDL\3.4\HeuristicLab.Problems.GPDL-3.4.csproj">
    58111      <Project>{E4EE5AFB-D552-447B-8A16-6CBE7938AF32}</Project>
Note: See TracChangeset for help on using the changeset viewer.