In order to ensure the safety of train operation,and realize the precise and real?time train positioning while sub?way running,a train positioning algorithm using modified fruit fly optimization algorithm to improve the DV?Hop algorithm is pro?posed to overcome the disadvantages of the traditional localization algorithms,such as high positioning error,high energy con?sumption and high complexity degree. The experiment for the relation among anchor node proportion,node quantity and average localization error was performed. The experimental results show that,with the increase of node quantity an...