A 'mobile' tree structure with branches and weighing functions