def __init__(self, name='StagedSequenceModel', callback_generator=None, num_mutations=1000):
        '''
        :param name: name of the model object (default: 'StagedSequenceModel')
        :type callback_generator: func(from_template, to_template) -> func(fuzzer, edge, response) -> None
        :param callback_generator: a function that returns callback functions
        :param num_mutations: number of mutations to perform
        '''
        super(StagedSequenceModel, self).__init__(name)
        self._stages = []
        if not callback_generator:
            def null_generator(src, dst):
                src = dst
                dst = src
                return None
            self.callback_generator = null_generator
        else:
            self.callback_generator = callback_generator
        self._num_mutations = num_mutations
def __init__ ( self , name = 'StagedSequenceModel' , callback_generator = None , num_mutations = 1000 ) : super ( StagedSequenceModel , self ) . __init__ ( name ) self . _stages = [ ] if not callback_generator : def null_generator ( src , dst ) : src = dst dst = src return None self . callback_generator = null_generator else : self . callback_generator = callback_generator self . _num_mutations = num_mutations
:param name: name of the model object (default: 'StagedSequenceModel')
        :type callback_generator: func(from_template, to_template) -> func(fuzzer, edge, response) -> None
        :param callback_generator: a function that returns callback functions
        :param num_mutations: number of mutations to perform