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/VectorOccurrenceOfExpressions.cs

    r15017 r15032  
    4040
    4141  [StorableClass]
    42   [PushExpression(StackTypes.IntegerVector, "INTEGER[].OCCURRENCEOF", StackTypes.Integer)]
     42  [PushExpression(
     43    StackTypes.IntegerVector,
     44    "INTEGER[].OCCURRENCEOF",
     45    "Pushes the amount of occurrences of the top INTEGER in the top INTEGER[] onto the INTEGER stack.",
     46    StackTypes.Integer)]
    4347  public class IntegerVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<long> {
    4448    public IntegerVectorOccurrenceOfExpression() { }
     
    5660
    5761  [StorableClass]
    58   [PushExpression(StackTypes.FloatVector, "FLOAT[].OCCURRENCEOF", StackTypes.Float | StackTypes.Integer)]
     62  [PushExpression(
     63    StackTypes.FloatVector,
     64    "FLOAT[].OCCURRENCEOF",
     65    "Pushes the amount of occurrences of the top FLOAT in the top FLOAT[] onto the INTEGER stack.",
     66    StackTypes.Float | StackTypes.Integer)]
    5967  public class FloatVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<double> {
    6068    public FloatVectorOccurrenceOfExpression() { }
     
    7280
    7381  [StorableClass]
    74   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].OCCURRENCEOF", StackTypes.Boolean | StackTypes.Integer)]
     82  [PushExpression(
     83    StackTypes.BooleanVector,
     84    "BOOLEAN[].OCCURRENCEOF",
     85    "Pushes the amount of occurrences of the top BOOLEAN in the top BOOLEAN[] onto the INTEGER stack.",
     86    StackTypes.Boolean | StackTypes.Integer)]
    7587  public class BooleanVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<bool> {
    7688    public BooleanVectorOccurrenceOfExpression() { }
     
    88100
    89101  [StorableClass]
    90   [PushExpression(StackTypes.StringVector, "STRING[].OCCURRENCEOF", StackTypes.String | StackTypes.Integer)]
     102  [PushExpression(
     103    StackTypes.StringVector,
     104    "STRING[].OCCURRENCEOF",
     105    "Pushes the amount of occurrences of the top STRING in the top STRING[] onto the INTEGER stack.",
     106    StackTypes.String | StackTypes.Integer)]
    91107  public class StringVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<string> {
    92108    public StringVectorOccurrenceOfExpression() { }
Note: See TracChangeset for help on using the changeset viewer.