Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/20/09 20:14:47 (15 years ago)
Author:
gkronber
Message:

Implemented #302 (Show variable names instead of var<index> in GP function trees).

  • Added a new operator that chooses a random value from a list of possible values.
  • Changed mutation operator for variables and differentials
  • Changed internal linear representation of function trees to support different types for local data.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.Boolean/3.3/BooleanTreeInterpreter.cs

    r1529 r2174  
    6767        case SymbolTable.NOR: return !(Step() | Step());
    6868        case SymbolTable.VARIABLE:
    69           return dataset.GetValue(currentRow, (int)curFun.data[0]) != 0.0;
     69          return dataset.GetValue(currentRow, (int)curFun.localData[0]) != 0.0;
    7070        case SymbolTable.UNKNOWN:
    7171        default:
Note: See TracChangeset for help on using the changeset viewer.