public void initialAction() { randomMeeting(); neighborMeeting(); graphLayout.updateLayout(); surface.updateDisplay(); if (showHist) degreeDist.step(); if (showPlot) graph.step(); }
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()); }