Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/13 13:32:32 (11 years ago)
Author:
sforsten
Message:

#1980:

  • set plugin dependencies
  • added smart initialization
  • added hierarchical selection
  • fixed major and minor default rule
  • fixed several smaller bugs
  • some refactoring has been done
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Action/IntAction.cs

    r9411 r9605  
    117117
    118118    public void SetTo(string value) {
    119       currentAction = int.Parse(value);
     119      SetToPosition(int.Parse(value));
     120    }
     121
     122    public void SetTo(IGAssistNiche action) {
     123      var castAction = action as IntAction;
     124      if (castAction == null) throw new ArgumentException("action has to be IntAction");
     125      SetToPosition(castAction.CurrentAction);
    120126    }
    121127
Note: See TracChangeset for help on using the changeset viewer.