1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nana76 [90]
3 years ago
11

• karger's min cut algorithm in the class has probability at least 2/n2 of returning a min-cut. how many times do you have to re

run this algorithm to get the probability of an error to be at most 1/n?
Mathematics
1 answer:
MrRissso [65]3 years ago
4 0
The Karger's algorithm relates to graph theory where G=(V,E)  is an undirected graph with |E| edges and |V| vertices.  The objective is to find the minimum number of cuts in edges in order to separate G into two disjoint graphs.  The algorithm is randomized and will, in some cases, give the minimum number of cuts.  The more number of trials, the higher probability that the minimum number of cuts will be obtained.

The Karger's algorithm will succeed in finding the minimum cut if every edge contraction does not involve any of the edge set C of the minimum cut.

The probability of success, i.e. obtaining the minimum cut, can be shown to be ≥ 2/(n(n-1))=1/C(n,2),  which roughly equals 2/n^2 given in the question.Given: EACH randomized trial using the Karger's algorithm has a success rate of P(success,1) ≥ 2/n^2.

This means that the probability of failure is P(F,1) ≤ (1-2/n^2) for each single trial.

We need to estimate the number of trials, t, such that the probability that all t trials fail is less than 1/n.

Using the multiplication rule in probability theory, this can be expressed as
P(F,t)= (1-2/n^2)^t < 1/n 

We will use a tool derived from calculus that 
Lim (1-1/x)^x as x->infinity = 1/e, and
(1-1/x)^x < 1/e   for x finite.  

Setting t=(1/2)n^2 trials, we have
P(F,n^2) = (1-2/n^2)^((1/2)n^2) < 1/e

Finally, if we set t=(1/2)n^2*log(n), [log(n) is log_e(n)]

P(F,(1/2)n^2*log(n))
= (P(F,(1/2)n^2))^log(n) 
< (1/e)^log(n)
= 1/(e^log(n))
= 1/n

Therefore, the minimum number of trials, t, such that P(F,t)< 1/n is t=(1/2)(n^2)*log(n)    [note: log(n) is natural log]
You might be interested in
Need Answer for this one still!
love history [14]
The answer would be C: 2/3
There are 4 out of 6 letters that aren’t vowels (BMPC)
And 4/6 = 2/3
5 0
3 years ago
Read 2 more answers
Una empresa alquila tanques de agua en forma de cilindro.Cada tanque tiene un radio de 4 m y una altura de 3 m.
d1i1m1o1n [39]
$678.58 if u can give me brainliest thx! :)
5 0
3 years ago
Tom is a cashier at HEB, he makes $13.25 per hour. If he works 22 hours this week what will be his gross income?
mamaluj [8]

Answer:

  $291.50

Step-by-step explanation:

For 22 hours, he earns 22 times his hourly pay.

  22×$13.25 = $291.50

6 0
3 years ago
During a football game a concession stand sold a family three hamburgers and two hotdogs for a total of $13 it's sold another fa
guajiro [1.7K]

Answer:

The price of each hamburger is $3

The price of each hot dogs is $2  .

Step-by-step explanation:

Given as :

The total price of 3 hamburger and 2 hot dogs = $13

The total price of 2 hamburger and 5 hot dogs = $16

Let The price of each hamburger = $x

Let The price of each hot dogs = $y

<u>Now, According to question</u>

3 x + 2 y = 13              .........A

2 x + 5 y = 16              .......B

Now, Solving to eq A and B

3 × (2 x + 5 y ) - 2 × (3 x + 2 y ) = 3 × 16 - 2 × 13

Or, (6 x + 15 y) - (6 x + 4 y) = 48 - 26

Or, (6 x - 6 x) + (15 y - 4 y) = 22

Or, 0 + 11 y = 22

∴  y = \dfrac{22}{11}

i.e y = $2

so, The price of each hot dogs = y = $2

<u>Now, Put the value of y into eq B</u>

i.e 2 x + 5 y = 16

or, 2 x + 5 × 2 = 16

or, 2 x = 16 - 10

or, 2 x = 6

∴  x = \dfrac{6}{2}

i.e x = $3

So, The price of each hamburger = x = $3

Hence, The price of each hamburger is $3 and  The price of each hot dogs is $2  . Answer

3 0
3 years ago
2 milliliters in one week
kipiarov [429]
hjvftunbbbgrrgssefghonnhoo
8 0
3 years ago
Other questions:
  • Can Yall help me please
    13·1 answer
  • Mike is a butcher. He is 5 feet 10 inches. What does he weigh?? :) :) ;)
    6·1 answer
  • Algebra help needed
    6·1 answer
  • Given h(x)= x^2-4 what is h(6)?<br> A.32<br> B.-4<br> C.0<br> D.77
    8·2 answers
  • Mia's hair was 17 inches long. Two years later it was 30 inches long.
    15·1 answer
  • Find y give your answer in simplest form​
    5·1 answer
  • Find the value of x.
    12·1 answer
  • I need help with this question
    7·1 answer
  • MAX POINTS PLEASE HELP Will make Brainliest
    12·1 answer
  • What is the solution to this matrix equation?[ -1 4 3 2] [x y] = [-26 8] i need to find (x=?) and (y=?)
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!