• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 14 pages
Exam (elaborations)

Cs 6515 Exam 2 Questions With Solutions

Document preview thumbnail
Preview 2 out of 14 pages

Basic Properties of Trees - Tree's are undirected, connected and acyclic that connect all nodes. 1. Tree on n vertices has (n-1) edges - would have a cycle otherwise (more than n-1 edges means cycle) 2. In tree exactly one path between every pair of vertices (otherwise it's not connected) - More than 1 path implies cycle - less than 1 path implies not connected 3. Any connected G(V, E) with |E| = |V| - 1 is a tree Kruskal's Algorithm - 1. Sort E by increasing weigt Running Time: O(m log n), m = |E|, n = |V| 2. Go through edges in order and add an edge to our current tree if it doesn't create a cycle Is there ever a reason to use cycles in a flow graph? - No Flow Network Constraints: Capacity Constraint - For all edges, the flow must be larger than zero, but less than the capacity of that edge Goal of Flow Problem - Maximize the flow out of the source (or into the sink) of maximum size while satisfying the capacity and conservation of flow constraints.


Document information

Uploaded on
May 25, 2025
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lectsavvy
4.1
(17)
Sold
95
Followers
39
Items
3641
Last sold
2 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.