Class FactorResult
java.lang.Object
de.tilman_neumann.jml.factor.base.FactorResult
public class FactorResult
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description SortedMultiset<java.math.BigInteger>compositeFactorsfactors that are certainly compositeSortedMultiset<java.math.BigInteger>primeFactorsfactors that are at least probable primelongsmallestPossibleFactorthe smallest factor that could occur in the unfactored rest, e.g.SortedMultiset<java.math.BigInteger>untestedFactorsfactors whose primeness has not been checked yet -
Constructor Summary
Constructors Constructor Description FactorResult(SortedMultiset<java.math.BigInteger> primeFactors, SortedMultiset<java.math.BigInteger> untestedFactors, SortedMultiset<java.math.BigInteger> compositeFactors, long smallestPossibleFactor)Full constructor. -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
primeFactors
factors that are at least probable prime -
untestedFactors
factors whose primeness has not been checked yet -
compositeFactors
factors that are certainly composite -
smallestPossibleFactor
public long smallestPossibleFactorthe smallest factor that could occur in the unfactored rest, e.g. because smaller factors have been excluded by trial division
-
-
Constructor Details
-
FactorResult
public FactorResult(SortedMultiset<java.math.BigInteger> primeFactors, SortedMultiset<java.math.BigInteger> untestedFactors, SortedMultiset<java.math.BigInteger> compositeFactors, long smallestPossibleFactor)Full constructor.- Parameters:
primeFactors- prime factors founduntestedFactors- factors found but not investigated for primenesscompositeFactors- factors found that are certainly compositesmallestPossibleFactor- the smallest factor that could occur in untestedFactors or compositeFactors
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-