public PolyRelationsSieveProgress(GNFS gnfs, int quantity, int valueRange) { _gnfs = gnfs; Relations = new RelationContainer(); A = 0; B = 3; Quantity = quantity; ValueRange = valueRange; if (MaxB == 0) { MaxB = (uint)gnfs.PrimeFactorBase.AlgebraicFactorBaseMax; } }
public PolyRelationsSieveProgress(GNFS gnfs, int smoothRelationsTargetQuantity, BigInteger valueRange) { _gnfs = gnfs; Relations = new RelationContainer(); A = 0; B = 3; ValueRange = valueRange; if (smoothRelationsTargetQuantity == -1) { SmoothRelations_TargetQuantity = SmoothRelationsRequiredForMatrixStep; } else { SmoothRelations_TargetQuantity = smoothRelationsTargetQuantity; } if (MaxB == 0) { MaxB = (uint)gnfs.PrimeFactorBase.AlgebraicFactorBaseMax; } }
public PolyRelationsSieveProgress() { Relations = new RelationContainer(); }