Lines Matching refs:node
27 nodes: make(map[string]*node),
35 nodes map[string]*node
53 type node struct { struct
57 input *node argument
73 var criticalPathInput *node
90 node := &node{
98 cp.nodes[output] = node
135 func (cp *criticalPath) criticalPath() []*node {
136 var max *node
139 for _, node := range cp.nodes {
140 if max == nil || node.cumulativeDuration > max.cumulativeDuration {
141 max = node
146 var criticalPath []*node
147 node := max
148 for node != nil {
149 criticalPath = append(criticalPath, node)
150 node = node.input