Urban network resilience analysis in case of earthquakes