Ok, it's tiring to argue. Show me a 'White Paper" showing that "transitive closures" are the most mathematically clean solution to this problem, and I will conceed. But after googling for it, and reading it's wikipedia entry, it makes things even more confusing. :-) My idea is to make a multiplicative string of each team that you have beat. Then store that as a hash key. For the sort, divide that by the other team symbol, and cancel out values in the numerator. (Or something like that :-)...which would yield a value if you beat the other team. Of course, instead of a binary value there, we could move to real numbers, and account for point differential, weather, time of day, etc. You see where I'm going with this?
Actually, about 30 years ago, there was an article in Sport's Illustrated about a guy who could predict thorobred horserace winners with a program similar to this. He entered all previous race data for the horses(teams), like weather, track, temperature, jockey weight, head to head wins, time of day, etc. Then he could set up his model with today's conditions, and predict who would win.
He was making a consistent profit by racing....probably with something like 30% accuracy.
I too, am tired of arguing with a fellow monk, so this is all I say.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.