Who know Maximal Matching Problems O(n) solution?

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
Farid Ahmadov
Experienced poster
Posts: 131
Joined: Thu Apr 17, 2003 8:39 am
Location: Baku, Azerbaijan

Who know Maximal Matching Problems O(n) solution?

Post by Farid Ahmadov »

Hi. I know only O(n^3) solution for this problem.
How I can get O(n) solution.
Thanks.
_____________
NO sigNature
Miguel Angel
Learning poster
Posts: 60
Joined: Tue Aug 13, 2002 2:39 am
Location: Mexico

Noup

Post by Miguel Angel »

I don't think so, actually O(N^3) is well to solve it even 'cause that algorithm is called pseudopolynomial.
The unique way will be that the problems offers you some constraints that make such problem trivial and so a O(N) solution can be applied, but i can't figure out right now :).
:D Miguel & Marina :D
makbet
New poster
Posts: 44
Joined: Tue Nov 26, 2002 11:01 pm
Location: Wejherowo

Post by makbet »

Are you talking about normal or bipartie graphs? In the first case
O(n^3) is probably the best you can get. In the second case the fastest known algorithm is O(sqrt(V)*E)
nghiank
New poster
Posts: 31
Joined: Wed Nov 20, 2002 3:10 pm
Contact:

Post by nghiank »

???
Last edited by nghiank on Sun Apr 22, 2007 3:33 pm, edited 1 time in total.
makbet
New poster
Posts: 44
Joined: Tue Nov 26, 2002 11:01 pm
Location: Wejherowo

Post by makbet »

Go find it yourself, it's called
Hopcroft-Karp's.
Post Reply

Return to “Algorithms”