(self, domain, candidates)
:param domain: Optimization :class:`~.domain.Domain`.
        :param candidates: candidate points, should be within the optimization domain.
:param domain: Optimization :class:`~.domain.Domain`.
        :param candidates: candidate points, should be within the optimization domain.
: param domain : Optimization : class : ~ . domain . Domain . : param candidates : candidate points should be within the optimization domain .
def __init__(self, domain, candidates):
        """
        :param domain: Optimization :class:`~.domain.Domain`.
        :param candidates: candidate points, should be within the optimization domain.
        """
        super(CandidateOptimizer, self).__init__(domain, candidates.shape[0])
        assert (candidates in domain)
        self.candidates = candidates
def __init__ ( self , domain , candidates ) : super ( CandidateOptimizer , self ) . __init__ ( domain , candidates . shape [ 0 ] ) assert ( candidates in domain ) self . candidates = candidates