(1)
function
approximate_OCs():
(2)
the set of ENs
(3)
while
do
(4)
(5)
for
each
in
do
(6) handle_node(
)
(7) swap(
)
Algorithm 1:
A function for going through a tech tree appropriately. Executing this results in having OC estimates for each node, as well as estimated optimal ancestor sets and optimal ABIs.