How is the cost of a spanning tree calculated?
What will be an ideal response?
The cost of a spanning tree is calculated by finding the sum of the costs of the edges in the spanning tree.
You might also like to view...
Which of the following wireless technologies uses the 5GHz spectrum?
A. 802.11n B. 801.11g C. 802.11b D. 802.11a
Given the following class, which is the correct function header for the display function?
class Rational { public: Rational(); Rational(int numer, int denom); Rational(int whole); int getNumerator(); int getDenominator(); friend void display(ostream& out, const Rational& value); private: int numerator; int denominator; }; a. friend void display(ostream& out, const Rational& value) b. void display(ostream& out, const Rational& value) c. void Rational::display(ostream& out, const Rational& value) d. friend void Rational::display(ostream& out, const Rational& value)