private void communityGeneratorTest(Distribution community, Distribution degree, double crossPercentage) {
int numNodes = 100;
TinkerGraph graph = new TinkerGraph();
for (int i=0;i<numNodes;i++) graph.addVertex(i);
CommunityGenerator generator = new CommunityGenerator("knows");
generator.setCommunityDistribution(community);
generator.setDegreeDistribution(degree);
generator.setCrossCommunityPercentage(crossPercentage);