In this paper we introduce line search strategies originating from continuous optimization for the realization of the guidance mechanism in particle swarm optimization for scalar optimization problems. Since these techniques are well-suited for-but not restricted to-local search the resulting algorithm can be considered to be memetic. Further, we will use the same techniques for the construction of a new variant of a hill climber. We will discuss possible realizations and will finally present some numerical results indicating the strength of the two algorithms