With the development of communications and mobile networks, the localization mechanism is a major component of future services. In this paper, we study the localization problem of mobile agents in ad hoc mobile networks; an object which has a double mobility is to be located, first, in relation to the mobility of its physical support in a dynamic environment, the station, and that of the code through the network stations. A performances evaluation, based upon a simulation, of proposed localization protocols show that the centralized approach in a distributed form is more interesting than a totally centralized approach.