public void initialAction() { randomMeeting(); neighborMeeting(); graphLayout.updateLayout(); surface.updateDisplay(); if (showHist) degreeDist.step(); if (showPlot) graph.step(); }
public void begin() { buildModel(); buildDisplay(); buildSchedule(); graphLayout.updateLayout(); surface.display(); if (showHist) degreeDist.display(); if (showPlot) graph.display(); }
public void mainAction() { randomMeeting(); neighborMeeting(); removeRandomFriendship(); graphLayout.updateLayout(); surface.updateDisplay(); if (showHist) degreeDist.step(); if (showPlot) graph.step(); // System.out.println(NetUtilities.getComponents(agentList).size()); }