Calculates the number of functions and terminals in the program.
(self)
| 411 | return depth - 1 |
| 412 | |
| 413 | def _length(self): |
| 414 | """Calculates the number of functions and terminals in the program.""" |
| 415 | return len(self.program) |
| 416 | |
| 417 | def execute(self, X): |
| 418 | """Execute the program according to X. |
nothing calls this directly
no outgoing calls
no test coverage detected