1. A method, comprising: providing a parameter of a bridged packet-switched network; correlating the parameter to an algorithm if the parameter is selected; and constructing an optimized spanning tree if the parameter is correlated to the algorithm, the optimized spanning tree to improve a performance of the network with respect to the selected parameter.