Microsoft algorithm #1: for all companies { if (company == Microsoft) next; // Fixes bug in version 1.0 // How threatening are they to us? if (threat(company,Microsoft)) { if (cost(company) < cost(Microsoft->copy_ideas(company))) { Microsoft->buy(company); } else { Microsoft->copy_ideas(company); } } }