public void trajectory(int time){
    
    int activity;
    for(int i=0; i<time; i++){
      for(int j=0;j<numNodes;j++){
        System.out.printf(""+(nodes.get(j).getState()? " ":"█") );
      }
      activity = 0;
      activity = update(activity);
      System.out.printf("\t%d\t%d\n", activity, state);
    }
  }