// NewList creates a new list scheduler for the given platform and application. func NewList(platform *system.Platform, application *system.Application) *List { return &List{ platform: platform, application: application, roots: application.Roots(), } }
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 }