Development of optimized algorithms for the classification of networks of road stretches into homogeneous clusters in urban areas