Author | Message |
---|---|
rmedina0531
Posts: 19
|
Posted 19:15 Mar 02, 2020 |
Is there any particular reason why this method is static. With this method static we cant access the object variables, i.e.accessing the rules or the rule number from the class. Either we need this method to be not static as to have access, or we need to pass in the rule number(or any other rule data set we might choose) to be able to compute the next line. |
rabbott
Posts: 1649
|
Posted 21:40 Mar 02, 2020 |
Sorry, but I'm not following your reasoning. The only information you need to generate a line from the previous line are the switch settings. This was given in the outline.
To compute the new line from the previous line all you need are the switch settings. They are available via Last edited by rabbott at
21:41 Mar 02, 2020.
|