On measuring network robustness for weighted networks