I\'m writing an application that calculates the ranking of teams in the pool stages of a rugby competition (Rugby World Cup 2015, but it could apply to many other pool-based
I want to add some other suggestion. Because your current problem have some contradictions and may not have a proper answer with current rules.
D, A, B, C
but then last two can't be enforce.
inside conference win
. So you could count how many win each team have inside this group as a way of order. My guess is you should analyze the restrictions. Maybe the order of rules is different and you can reduce THIS problem to one where only two team are tie.