Table of Contents
The calculate method should be implemented in subclasses.
calculate ( self, p, i, )
...
getInput ( self )