What quantitative cost values and path calculation attributes define a metric in dynamic routing algorithms to rank competing network paths, and why is evaluating link variables like bandwidth, delay, and hop count essential for automated best path selection across enterprise networks?