}
// real distribution has it own initialization
if (mode == LinkDistMode.REAL) {
logger.debug("Using real link distribution");
RealDistribution realDist = new RealDistribution();
realDist.init(props, minid1, maxid1, DistributionType.LINKS);
return new ProbLinkDistribution(realDist);
} else {
// Various arithmetic modes
// an additional parameter for the function
int nlinks_config = ConfigUtil.getInt(props, Config.NLINKS_CONFIG);