A ProgramforReliability Evaluation ofUndirected Networks viaPolygon-to-Chain Reductions