def __init__(self,
               patternMachine,
               seed=42):
    """
    @param patternMachine (PatternMachine) Pattern machine instance
    """
    # Save member variables
    self.patternMachine = patternMachine

    # Initialize member variables
    self._random = Random(seed)
def __init__ ( self , patternMachine , seed = 42 ) : self . patternMachine = patternMachine self . _random = Random ( seed )
@param patternMachine (PatternMachine) Pattern machine instance