Next / Previous / Contents / Shipman's homepage

17.2. SpeciesSearcher.__init__()

The constructor simply saves the arguments. The .run() method does all the actual work.

baseclasses.py
# - - -   S p e c i e s S e a r c h e r . _ _ i n i t _ _   - - -

    def __init__(self, speciesSet, target):
        '''Constructor for SpeciesSearcher
        '''
        self.speciesSet = speciesSet
        self.target     = target