extension/src/main/java/org/justinnk/masonssa/extension/ssa/AttributeDependencyGraph.java
/** Print all dependents of attributes of agents. */
Print all dependents of attributes of agents.
Print all dependents of attributes of agents .
public void printAttributeDependents() {
    System.out.println("Attribute Dependencies:");
    for (Agent agent :
        dependents.keySet().stream()
            .sorted((x, y) -> x.getId() - y.getId())
            .collect(Collectors.toList())) {
      for (String attribute : dependents.get(agent).keySet()) {
        System.out.println(attribute + " of agent " + agent + " has the dependents:");
        for (Action action : dependents.get(agent).get(attribute)) {
          System.out.println("\t" + action + ".");
        }
      }
    }
    System.out.println("End");
  }
public void printAttributeDependents ( ) { System . out . println ( "Attribute Dependencies:" ) ; for ( Agent agent : dependents . keySet ( ) . stream ( ) . sorted ( ( x , y ) -> x . getId ( ) - y . getId ( ) ) . collect ( Collectors . toList ( ) ) ) { for ( String attribute : dependents . get ( agent ) . keySet ( ) ) { System . out . println ( attribute + " of agent " + agent + " has the dependents:" ) ; for ( Action action : dependents . get ( agent ) . get ( attribute ) ) { System . out . println ( "\t" + action + "." ) ; } } } System . out . println ( "End" ) ; }
Print all dependents of attributes of agents.
Print all dependents of attributes of agents .