Closed Thread
Results 1 to 2 of 2

Thread: Need help for creating unique matchups

  1. #1
    neha_sharma is offline Newbie
    Join Date
    May 2009
    Posts
    1
    Rep Power
    0

    Smile Need help for creating unique matchups

    hello all,

    i m developing a league website in which i need to create matchups between the league users.

    For example we have 6 users in a league. first i created the the 15 possible (Unique) matchups between these six.

    15 Matchups

    Amit Dx --------------- ffa fffa
    Amit Dx --------------- Austria Viena
    Amit Dx --------------- awe weqwe
    Amit Dx --------------- ramesh jain
    Amit Dx --------------- bhopal Singh
    ffa fffa --------------- Austria Viena
    ffa fffa --------------- awe weqwe
    ffa fffa --------------- ramesh jain
    ffa fffa --------------- bhopal Singh
    Austria Viena --------------- awe weqwe
    Austria Viena --------------- ramesh jain
    Austria Viena --------------- bhopal Singh
    awe weqwe --------------- ramesh jain
    awe weqwe --------------- bhopal Singh
    ramesh jain --------------- bhopal Singh


    Now i need logic to get three unique matchups every week for next five weeks.


    Please help me....... Thanx in advance

    Neha Sharma

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Need help for creating unique matchups

    This is a fairly non-trivial problem. What language will you be using?

    You will want to do some research on set partitioning, bin packing, etc. Also, is this something that will need to be scalable to a larger number of players?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating a special 4 column matrix with 65536 unique combinations
    By UniBoy in forum Visual Basic Programming
    Replies: 3
    Last Post: 05-15-2010, 04:45 AM
  2. Replies: 0
    Last Post: 05-13-2010, 04:05 PM
  3. Unique In Array
    By BASHERS33 in forum PHP Development
    Replies: 11
    Last Post: 05-03-2009, 03:16 PM
  4. ‘Advanced Unique Impressions & Unique Clicks’ Plug
    By adserverexpert in forum Services for Buy/Sell/Trade
    Replies: 0
    Last Post: 10-06-2008, 01:51 AM
  5. Unique ID
    By Jaan in forum PHP Tutorials
    Replies: 2
    Last Post: 03-23-2007, 05:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts