public RMatGraph < T > setNoise ( boolean noiseEnabled , float noise ) { Preconditions . checkArgument ( noise >= 0.0f && noise <= 2.0f , "RMat parameter noise must be non-negative and less than or equal to 2.0" ) ; this . noiseEnabled = noiseEnabled ; this . noise = noise ; return this ; }
Enable and configure noise . Each edge is generated independently but when noise is enabled the parameters A B and C are randomly increased or decreased then normalized by a fraction of the noise factor during the computation of each bit .