| 980 | } |
| 981 | |
| 982 | inline bool Edge::IsControlEdge() const { |
| 983 | // Note that if either src_output_ or dst_input_ is kControlSlot, |
| 984 | // so is the other one (AddEdge checks this). |
| 985 | return src_output_ == Graph::kControlSlot; |
| 986 | } |
| 987 | |
| 988 | inline gtl::iterator_range<NodeIter> Graph::nodes() const { |
| 989 | // Note that NodeId 0 is always valid since we don't let the source |
no outgoing calls