Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/DoCountExpressions.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/DoCountExpressions.cs
r15017 r15032 16 16 [Serializable] 17 17 [StorableClass] 18 [PushExpression(StackTypes.Code, "CODE.DO*COUNT", StackTypes.Integer)] 18 [PushExpression( 19 StackTypes.Code, 20 "CODE.DO*COUNT", 21 "An iteration instruction that performs a loop (the body of which is taken from the CODE stack) the number of times indicated by the INTEGER argument, pushing an index (which runs from zero to one less than the number of iterations) onto the INTEGER stack prior to each execution of the loop body.", 22 StackTypes.Integer)] 19 23 public class CodeDoCountExpression : StatelessExpression { 20 24 … … 48 52 [Serializable] 49 53 [StorableClass] 50 [PushExpression(StackTypes.Exec, "EXEC.DO*COUNT", StackTypes.Integer, execIn: 1)] 54 [PushExpression( 55 StackTypes.Exec, 56 "EXEC.DO*COUNT", 57 "An iteration instruction that performs a loop (the body of which is taken from the EXEC stack) the number of times indicated by the INTEGER argument, pushing an index (which runs from zero to one less than the number of iterations) onto the INTEGER stack prior to each execution of the loop body.", 58 StackTypes.Integer, 59 execIn: 1)] 51 60 public class ExecDoCountExpression : StatelessExpression { 52 61 public ExecDoCountExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.