怎么使用Class WattsBetaSmallWorldGenerator来实现小世界网络?求指导,谢谢
亲们,怎么使用Java来实现smallworld的编写?目前就搞了这么一点点,求指导。万分感激!NetworkGenerator gen = new WattsBetaSmallWorldGenerator(0.5, 4, false);
NetworkBuilder<Object> netBuilder3 = new NetworkBuilder(Constants.SMALLWORLD_NETWORK_ID, context,
false);
netBuilder3.setGenerator(gen);
netBuilder3.buildNetwork();
这是参考网页:file:///C:/RepastSimphony-2.2/docs/RepastSimphonyAPI/index.html?overview-summary.html