After removing the leaves of the dfs tree of a random graph , suppose the number of edges left is |S|, can we prove that the matching for that graph will be |S|/2?
graph algorithm, approximation algorithm
307 Views Asked by justin waugh At
1
There are 1 best solutions below
Related Questions in ALGORITHM
- Two different numbers in an array which their sum equals to a given value
- Given two arrays of positive numbers, re-arrange them to form a resulting array, resulting array contains the elements in the same given sequence
- Time complexity of the algorithm?
- Find a MST in O(V+E) Time in a Graph
- Why k and l for LSH used for approximate nearest neighbours?
- How to count the number of ways of choosing of k equal substrings from a List L(the list of All Substrings)
- Issues with reversing the linkedlist
- Finding first non-repeating number in integer array
- Finding average of an array
- How to check for duplicates with less time in a list over 9000 elements by python
- How to pick a number based on probability?
- Insertion Sort help in javascript -- Khan Academy
- Developing a Checkers (Draughts) engine, how to begin?
- Can Bellman-Ford algorithm be used to find shorthest path on a graph with only positive edges?
- What is the function for the KMP Failure Algorithm?
Related Questions in GRAPH
- Find a MST in O(V+E) Time in a Graph
- Using chart and tooltip
- What clustering algorithms can I consider for graph?
- Clustering on Graph (using Boost Graph Library)
- How to set a domain on an axis and have the axis intervals not constant or take up different amount of interval spaces using d3
- sort graph by distance to end nodes
- Construct and label a uniform graph in NetworkX using dictionaries?
- Plot: Add legend that overlay several Frames
- Labelling nodes in networkx
- Plotting a data frame in R
- How does boost::subgraph work? Can we use filtered graph?
- How do I make a decaying oscilating function in python?
- Deserialize tree given inorder format?
- Having issues with D3 scale and data binding
- ArangoDB graph operations via REST API
Related Questions in GRAPH-THEORY
- How to get samples of different paths?
- Matlab code for regular graphs on given number of vertices
- Finding least Common ancestor in Binary Tree with o(h^2) for a change
- Nodes Connecting to and from Multiple Other Nodes (in JavaScript or Ruby preferably)
- Connecting components of a graph using data.table
- Semi-Eulerization Algorithm (for dummies)
- Algorithm - Balancing a disconnected bipartite graph
- Computing minimum path lengths in an SQL table
- How to split set of dependent steps into groups
- Algorithm for generating random network
- Find all sets of closed nodes in R
- What is the name of set of input vertices in Steiner tree?
- What is the correct vertex order of Prim algorithm from this graph?
- Finding all possible paths in graph
- How to access previous data value before binding the new value in d3.js?
Related Questions in APPROXIMATION
- Recursively divide a list that each iteration divides into two parts to get the closest sum overall
- How to obtain tilde or approx symbol in gnuplot legend?
- Newtonraphson code in R leads to different results
- Max 3 color algorithm
- Euler's approximation in MATLAB
- Neighborhood Structure for Graph Coloring Local Search Heuristic
- C weird approximation on floating point
- Circular approximation of polygon (or its part)
- Euler's programming function : differential equation as a parameter
- Exponential approximation not good for small or large input
- updates in mean-field variational inference
- How to approximate the xth percentile for a large unknown quantity of number
- Maximizing Subgraph "value" given budget
- Fast, approximate solution to linear equations?
- graph algorithm, approximation algorithm
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here's a proof.
Theorem: Let
Tbe any tree withileaves. There is a(|T|-i)/2matching inT.Proof: by induction. If
Tis a tree withileaves, letT'be the tree that results when removing all the leaves fromT.T'hasj <= ileaves. Similarly, letT''be the tree that results when removing all the leaves fromT'.T''hask <= jleaves.Apply the theorem by induction to
T'', so there exists a matching of size(|T''|-k)/2 = (|T|-i-j-k)/2inT''. The set of edgesT-T'contains at leastjedges that are not incident to any edge inT''or to each other (pick one incident to each leaf inT'), so add those edges to make a matching inTof size(|T|-i+j-k)/2. Sincej >= k, this is at least(|T|-i)/2edges. QED.I've glossed over the floor/ceiling issues with the /2, but I suspect the proof would still work if you included them.