As a model we represent a walk through the menu structures of the palm as an optimized search in a complete graph. Each transition in the complete graph has a unique cost function, so each search path has defined costs depending on the visited nodes and used transitions (Figure