We have the pieces (instances of
SunspotAnalyzerPiece), but now we must create the subclass to create and solve the sunspot analyzing algorithm.
We are going to create a subclass of the
ParallelAlgorithm class and add the variables, properties, and methods needed for the sunspot analyzer algorithm. Thus, we are going to begin representing the sunspot analyzer parallel algorithm:
SunspotAnalyzer(a subclass of
ParallelAlgorithm), using the following declaration:
class SunspotAnalyzer : ParallelAlgorithm