Click here to Skip to main content
15,891,184 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Guides on solving this recurrence relation equation? Pin
jeron12-Dec-23 7:13
jeron12-Dec-23 7:13 
AnswerRe: Guides on solving this recurrence relation equation? Pin
jschell4-Dec-23 3:25
jschell4-Dec-23 3:25 
QuestionScheduling with constraints Pin
jedraw3-Nov-23 5:23
jedraw3-Nov-23 5:23 
AnswerRe: Scheduling with constraints Pin
Gerry Schmitz3-Nov-23 6:08
mveGerry Schmitz3-Nov-23 6:08 
AnswerRe: Scheduling with constraints Pin
Richard MacCutchan3-Nov-23 6:40
mveRichard MacCutchan3-Nov-23 6:40 
GeneralRe: Scheduling with constraints Pin
jedraw3-Nov-23 6:55
jedraw3-Nov-23 6:55 
GeneralRe: Scheduling with constraints Pin
Richard MacCutchan3-Nov-23 7:06
mveRichard MacCutchan3-Nov-23 7:06 
QuestionRound-robin tournament scheduling, with teams that may share their home field Pin
Mad Bat30-Oct-23 7:00
Mad Bat30-Oct-23 7:00 
Hello!
I need to implement an algorithm to create round-robin tournament schedules, but with the constraint that up to 2 teams – that may play in different leagues – might share the same field on the same time slot of the week, so they must be never be scheduled to play at their home field in the same round of their league schedule.

Simple example:
leagueA = [
  TeamA(plays at FieldA on Sunday),
  TeamB(plays at FieldB on Sunday),
  TeamC(plays at FieldA on Saturday),
  TeamD(plays at FieldD on Saturday)
]
leagueB = [
  TeamE(plays at FieldA on Sunday),
  TeamF(plays at FieldF on Sunday),
  TeamG(plays at FieldG on Saturday),
  TeamH(plays at FieldF on Saturday)
]


I was thinking of generating the schedule for leagueA with the circle algorithm alternating home and away at each round as described in the linked article, and then to approach the scheduling for leagueB by prefilling the slots for the teams that share the field with teams in the other league somehow, but I'm not sure whether it's the right approach and how to actually implement it in a way that is guaranteed to produce schedules do not produce conflicts.

Any help would be highly appreciated!
AnswerRe: Round-robin tournament scheduling, with teams that may share their home field Pin
Gerry Schmitz30-Oct-23 7:25
mveGerry Schmitz30-Oct-23 7:25 
QuestionAlgorithm Sequence Programming Competition Pin
Member 1612077221-Oct-23 3:38
Member 1612077221-Oct-23 3:38 
AnswerRe: Algorithm Sequence Programming Competition Pin
Gerry Schmitz21-Oct-23 7:42
mveGerry Schmitz21-Oct-23 7:42 
AnswerRe: Algorithm Sequence Programming Competition Pin
Mircea Neacsu21-Oct-23 12:26
Mircea Neacsu21-Oct-23 12:26 
GeneralRe: Algorithm Sequence Programming Competition Pin
Member 1612077221-Oct-23 16:58
Member 1612077221-Oct-23 16:58 
AnswerRe: Algorithm Sequence Programming Competition Pin
Mircea Neacsu21-Oct-23 19:48
Mircea Neacsu21-Oct-23 19:48 
GeneralRe: Algorithm Sequence Programming Competition Pin
Gerry Schmitz22-Oct-23 9:05
mveGerry Schmitz22-Oct-23 9:05 
QuestionCollision Response in a RTS game, still trying to figure it out. Pin
Calin Negru23-Sep-23 7:32
Calin Negru23-Sep-23 7:32 
AnswerRe: Collision Response in a RTS game, still trying to figure it out. Pin
Gerry Schmitz23-Sep-23 7:48
mveGerry Schmitz23-Sep-23 7:48 
GeneralRe: Collision Response in a RTS game, still trying to figure it out. Pin
Calin Negru23-Sep-23 22:21
Calin Negru23-Sep-23 22:21 
AnswerRe: Collision Response in a RTS game, still trying to figure it out. Pin
Member 1614278528-Nov-23 6:53
Member 1614278528-Nov-23 6:53 
AnswerRe: Does D correctly simulated by H terminate normally? Pin
Richard MacCutchan16-May-23 22:05
mveRichard MacCutchan16-May-23 22:05 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
Richard Deeming16-May-23 22:52
mveRichard Deeming16-May-23 22:52 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
Dave Kreskowiak17-May-23 3:18
mveDave Kreskowiak17-May-23 3:18 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
Dave Kreskowiak17-May-23 4:07
mveDave Kreskowiak17-May-23 4:07 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
Dave Kreskowiak17-May-23 6:22
mveDave Kreskowiak17-May-23 6:22 
GeneralRe: Does D correctly simulated by H terminate normally? Pin
Dave Kreskowiak17-May-23 6:35
mveDave Kreskowiak17-May-23 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.