extension/src/main/java/org/justinnk/masonssa/extension/ssa/EdgeDependencyGraph.java
/**
   * Get all edges owned by the given network.
   *
   * @param owner The network to query for edges.
   * @return A set of all the owners edges known to the graph.
   */
Get all edges owned by the given network.
@param owner The network to query for edges.
@return A set of all the owners edges known to the graph.
Get all edges owned by the given network . @param owner The network to query for edges . @return A set of all the owners edges known to the graph .
public ArrayList<Action> GetDependents(Network owner) {
    HashMap<Edge, HashSet<Action>> d = dependents.get(owner);
    if (d != null) {
      return (ArrayList<Action>)
          d.values().stream().flatMap(Collection::stream).collect(Collectors.toList());
    } else {
      return new ArrayList<>(0);
    }
  }
public ArrayList < Action > GetDependents ( Network owner ) { HashMap < Edge , HashSet < Action > > d = dependents . get ( owner ) ; if ( d != null ) { return ( ArrayList < Action > ) d . values ( ) . stream ( ) . flatMap ( Collection :: stream ) . collect ( Collectors . toList ( ) ) ; } else { return new ArrayList < > ( 0 ) ; } }
Get all edges owned by the given network.
Get all edges owned by the given network .