{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

8.1 Why the Ford-Fulkerson algorithm looks so familiar Flashcards

(3 cards)

1
Q

How does a biparite matching reduce to a flow network

A
  • Include source and sink
  • Direct edges, weight 1
  • Augmenting path => matched and non matching since backward edge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to simulate rational weights in a flow network

A

Multiply each weight by k : all integers

Note: Runtime is prop to F*(v) so prime numbers can mess up runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Edmonds-Karp: when to use it, what is its runtime and how its different to FF (flow networks)

A
  • When we have irrational edge capacities (potentially bad numbers) - FF won’t terminate
  • O(|V||E|^2) => in practice worse than FF
  • Use BFS rather than DFS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly