Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/08 23:00:48 (16 years ago)
Author:
gkronber
Message:

fixed compilation problems introduced with r428 (ticket #225)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/GPOperatorLibraryEditor.cs

    r423 r429  
    3333using HeuristicLab.Operators;
    3434using HeuristicLab.Random;
     35using HeuristicLab.Functions;
    3536
    3637namespace HeuristicLab.StructureIdentification {
     
    5455
    5556      foreach(IOperator op in library.Group.Operators) {
    56         if(op.GetVariable(GPOperatorLibrary.MANIPULATION) != null) {
     57        if(op.GetVariable(FunctionBase.MANIPULATION) != null) {
    5758          ListViewItem item = new ListViewItem();
    5859          item.Text = op.Name;
     
    6162          mutationListView.Items.Add(item);
    6263        }
    63         if(op.GetVariable(GPOperatorLibrary.INITIALIZATION) != null) {
     64        if(op.GetVariable(FunctionBase.INITIALIZATION) != null) {
    6465          ListViewItem item = new ListViewItem();
    6566          item.Name = op.Name;
     
    7475    private void GPOperatorLibraryView_OperatorAdded(object sender, EventArgs e) {
    7576      IOperator op = ((OperatorEventArgs)e).op;
    76       if (op.GetVariable(GPOperatorLibrary.MANIPULATION) != null) {
     77      if(op.GetVariable(FunctionBase.MANIPULATION) != null) {
    7778        ListViewItem operatorMutationItem = new ListViewItem();
    7879        operatorMutationItem.Name = op.Name;
     
    8283      }
    8384
    84       if (op.GetVariable(GPOperatorLibrary.INITIALIZATION) != null) {
     85      if(op.GetVariable(FunctionBase.INITIALIZATION) != null) {
    8586        ListViewItem operatorInitItem = new ListViewItem();
    8687        operatorInitItem.Name = op.Name;
     
    133134    private void mutationListView_SelectedIndexChanged(object sender, EventArgs e) {
    134135      if(mutationListView.SelectedItems.Count>0 && mutationListView.SelectedItems[0].Tag != null) {
    135         IVariable variable = ((IOperator)mutationListView.SelectedItems[0].Tag).GetVariable(GPOperatorLibrary.MANIPULATION);
     136        IVariable variable = ((IOperator)mutationListView.SelectedItems[0].Tag).GetVariable(FunctionBase.MANIPULATION);
    136137        mutationVariableView.Enabled = true;
    137138        mutationVariableView.Variable = variable;
     
    143144    private void initListView_SelectedIndexChanged(object sender, EventArgs e) {
    144145      if(initListView.SelectedItems.Count>0 && initListView.SelectedItems[0].Tag != null) {
    145         IVariable variable = ((IOperator)initListView.SelectedItems[0].Tag).GetVariable(GPOperatorLibrary.INITIALIZATION);
     146        IVariable variable = ((IOperator)initListView.SelectedItems[0].Tag).GetVariable(FunctionBase.INITIALIZATION);
    146147        initVariableView.Enabled = true;
    147148        initVariableView.Variable = variable;
Note: See TracChangeset for help on using the changeset viewer.