Optimum path hunting strategy and optimum design method in T-S-T types of switching networks