def METHOD_NAME(self, search_space: Graph, scope: str = None, dataset_api: dict = None):
    assert (
        search_space.QUERYABLE
    ), "Regularized evolution is currently only implemented for benchmarks."
    self.search_space = search_space.clone()
    self.scope = scope if scope else search_space.OPTIMIZER_SCOPE
    self.dataset_api = dataset_api