Teacher time schedule algorithm

前端 未结 8 945
灰色年华
灰色年华 2021-01-30 00:20

This is a problem I\'ve had on my mind for a long time. Being the son of a teacher and a programmer, it occurred to me early on... but I still haven\'t found a solution for it.<

8条回答
  •  忘掉有多难
    2021-01-30 00:46

    I've tackled similar planning/scheduling problems in the past and the AI technique that is often best suited for this class of problem is "Constraint Based Reasoning".

    It's basically a brute force method like Laurenty suggested, but the approach involves applying constraints in an efficient order to cause the infeasible solutions to fail fast - to minimise the computation required.

    Googling "Constraint Based Reasoning" brings up a lot of resources on the technique and its application to scheduling problems.

提交回复
热议问题