<filename>lib/pysgpp/extensions/datadriven/uq/sampler/Sampler.py
class Sampler(object):

    def __init__(self):
        self._params = None
        self._dim = None
        self._iteration = 0

    def setParameters(self, params):
        self._params = params
        self._dim = params.getStochasticDim()

    def nextSamples(self, *args, **kws):
        raise NotImplementedError()

    def learnData(self, *args, **kws):
        raise NotImplementedError()

    def hasMoreSamples(self):
        raise NotImplementedError()

<filename>lib/pysgpp/extensions/datadriven/uq/sampler/Sampler.py
class Sampler(object):

    def __init__(self):
        self._params = None
        self._dim = None
        self._iteration = 0

    def setParameters(self, params):
        self._params = params
        self._dim = params.getStochasticDim()

    def nextSamples(self, *args, **kws):
        raise NotImplementedError()

    def learnData(self, *args, **kws):
        raise NotImplementedError()

    def hasMoreSamples(self):
        raise NotImplementedError()
