Skip to content

Algorithm

Samule Li edited this page Aug 13, 2017 · 18 revisions

We decided to use the A* algorithm to produce optimal solutions for task graphs up to 20 nodes. It is a best first state space search algorithm, that reduces the state space search by our implemented cost function and clipping techniques.

Bottom Level

The bottom level heuristic of each node calculates the longest path from the selected node. This helps provide an underestimate for the length of the schedule. The calculation only takes into consideration all the weights of the nodes in the path, ignoring the edge weights.

Clone this wiki locally