add DistanceHopKnowsGenerator.java
to generate social networks faster
use alpha
to control Clustering Coefficient
- connect the network (
DistanceHopKnowsGenerator.java
, line 23) - add edges in each block (
DistanceHopKnowsGenerator.java
, line 45) - trace the head and the tail vertex in each group (
HadoopKnowsGenrator.java
, line 90) - add edges between the head and the tail vertices among groups (
HadoopMergeFriendshipFiles.java
, line 53)
NOTE: do not shuffle the persons