In various cases, additional terms for reallocation of the priorities of goals as other goals are met can be included, varying transactional costs may be associated with each of the intermediate nodes, these representing, for example, attrition, cost of replacement supplies and the like, and other features can be incorporated in order to model realistically the total cost of the satisfaction of th