Before revision: AIXI then selects the action that has the highest expected total reward in the weighted sum of all these programs , in line with Dijkstra's algorithm .
After revision: AIXI then selects the action that has the highest expected total reward in the weighted sum of all these programs .