extension/src/main/java/org/justinnk/masonssa/extension/ssa/EdgeDependencyGraph.java
/** Print dependencies for each action. */
Print dependencies for each action.
Print dependencies for each action .
public void printActionDependencies() {
    System.out.println("Edge Dependencies:");
    for (Action action :
        dependsOn.keySet().stream()
            .sorted((x, y) -> x.getOwner().getId() - y.getOwner().getId())
            .collect(Collectors.toList())) {
      System.out.println(action + " depends on:");
      for (Network network : dependsOn.get(action).keySet()) {
        for (Edge edge : dependsOn.get(action).get(network)) {
          System.out.println("\t" + edge + "of network " + network + ".");
        }
      }
    }
    System.out.println("End");
  }
public void printActionDependencies ( ) { System . out . println ( "Edge Dependencies:" ) ; for ( Action action : dependsOn . keySet ( ) . stream ( ) . sorted ( ( x , y ) -> x . getOwner ( ) . getId ( ) - y . getOwner ( ) . getId ( ) ) . collect ( Collectors . toList ( ) ) ) { System . out . println ( action + " depends on:" ) ; for ( Network network : dependsOn . get ( action ) . keySet ( ) ) { for ( Edge edge : dependsOn . get ( action ) . get ( network ) ) { System . out . println ( "\t" + edge + "of network " + network + "." ) ; } } } System . out . println ( "End" ) ; }
Print dependencies for each action.
Print dependencies for each action .