def __init__(self, start, minimize):
        self.minimize = minimize
        self.dim = scipy.size(start)
        self.position = start
        self.velocity = scipy.zeros(scipy.size(start))
        self.bestPosition = scipy.zeros(scipy.size(start))
        self._fitness = None
        if self.minimize:
            self.bestFitness = scipy.inf
        else:
            self.bestFitness = -scipy.inf
Initialize a Particle at the given start vector.
dataset/ETHPy150Open pybrain/pybrain/pybrain/optimization/populationbased/pso.py/Particle.__init__