Пример #1
0
func explore(application *system.Application) []uint {
	nt := uint(len(application.Tasks))
	depth := make([]uint, nt)
	for _, l := range application.Leafs() {
		ascend(application, depth, l)
	}
	return depth
}