Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorOccurrenceOfExpressions.cs
- Timestamp:
- 06/12/17 14:11:43 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorOccurrenceOfExpressions.cs
r15017 r15032 40 40 41 41 [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)] 43 47 public class IntegerVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<long> { 44 48 public IntegerVectorOccurrenceOfExpression() { } … … 56 60 57 61 [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)] 59 67 public class FloatVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<double> { 60 68 public FloatVectorOccurrenceOfExpression() { } … … 72 80 73 81 [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)] 75 87 public class BooleanVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<bool> { 76 88 public BooleanVectorOccurrenceOfExpression() { } … … 88 100 89 101 [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)] 91 107 public class StringVectorOccurrenceOfExpression : VectorOccurrenceOfExpression<string> { 92 108 public StringVectorOccurrenceOfExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.