Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/17 14:11:43 (7 years ago)
Author:
pkimmesw
Message:

#2665 Fixed bias 0 issue, PushExpressionFrequencyAnalyzer, Fixed probability for ERC settings, Fixed enable/disable instructions, Added expression descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorNthExpressions.cs

    r15017 r15032  
    4242
    4343  [StorableClass]
    44   [PushExpression(StackTypes.IntegerVector, "INTEGER[].NTH", StackTypes.Integer)]
     44  [PushExpression(
     45    StackTypes.IntegerVector,
     46    "INTEGER[].NTH",
     47    "Pushes the nth item from the top INTEGER[] onto the INTEGER stack, whereby n is taken from the INTEGER stack.",
     48    StackTypes.Integer)]
    4549  public class IntegerVectorNthExpression : VectorNthExpression<long> {
    4650    public IntegerVectorNthExpression() { }
     
    5862
    5963  [StorableClass]
    60   [PushExpression(StackTypes.FloatVector, "FLOAT[].NTH", StackTypes.Float | StackTypes.Integer)]
     64  [PushExpression(
     65    StackTypes.FloatVector,
     66    "FLOAT[].NTH",
     67    "Pushes the nth item from the top FLOAT[] onto the FLOAT stack, whereby n is taken from the INTEGER stack.",
     68    StackTypes.Float | StackTypes.Integer)]
    6169  public class FloatVectorNthExpression : VectorNthExpression<double> {
    6270    public FloatVectorNthExpression() { }
     
    7482
    7583  [StorableClass]
    76   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].NTH", StackTypes.Boolean | StackTypes.Integer)]
     84  [PushExpression(
     85    StackTypes.BooleanVector,
     86    "BOOLEAN[].NTH",
     87    "Pushes the nth item from the top BOOLEAN[] onto the BOOLEAN stack, whereby n is taken from the INTEGER stack.",
     88    StackTypes.Boolean | StackTypes.Integer)]
    7789  public class BooleanVectorNthExpression : VectorNthExpression<bool> {
    7890    public BooleanVectorNthExpression() { }
     
    90102
    91103  [StorableClass]
    92   [PushExpression(StackTypes.StringVector, "STRING[].NTH", StackTypes.String | StackTypes.Integer)]
     104  [PushExpression(
     105    StackTypes.StringVector,
     106    "STRING[].NTH",
     107    "Pushes the nth item from the top STRING[] onto the BOOLEAN stack, whereby n is taken from the INTEGER stack.",
     108    StackTypes.String | StackTypes.Integer)]
    93109  public class StringVectorNthExpression : VectorNthExpression<string> {
    94110    public StringVectorNthExpression() { }
Note: See TracChangeset for help on using the changeset viewer.