def _setExplorer(self, explorer):
        assert self._module

        self._explorer = explorer

        # build network
        self._initializeNetwork()
assign non-standard explorer to the policy gradient learner.
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/learners/directsearch/policygradient.py/PolicyGradientLearner._setExplorer