ktakagaki / hayabaya

0 stars 0 forks source link

Topic26 #6

Closed ghost closed 9 years ago

ghost commented 9 years ago

@ktakagaki In the spirit of trying to meet much more frequently, and then keeping the topics simpler, here is my first attempt.

I am addressing ToDo's in RunSettings.java from our previous pull request.

I am trying to create a convenience for creating the arrayLengths and cycleNumbers arrays easily.

The function should take integer values "from", "to" and "stepsize" and return an array of integers ranging over these values. f( int from, int to, int stepsize)

Calling f(10, 100, 10): [10, 20, 30, 40, 50, 60, 70, 80, 90, 100] Calling f(1, 10, 1): [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] Calling f(5, 50, 10): [5, 15, 25, 35, 45, 55]

NEXT: *Make this possible for logarithmic values and start removing the use of (AT)Deprecated annotated values in RunSettings.

*Talk loosely about using for comprehension in main

I will shortly send you an e-mail with some quick questions I have noted during today.

Best regards, Soren