|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--lima.mathematical.factorisation.quadraticsieve.SortingTuple
A class to represent factors from the factor base with the log of their product This has got to be sorted by the log field. (ie the sum(log(FB[factorIndicies])
| Constructor Summary | |
SortingTuple(int[] factorIndicies,
java.math.BigInteger[] factorBase)
Construct a new SortingTuple object |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
|
int[] |
getFactorIndicies()
Return the factor indicies |
float |
getLog()
Return the log value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SortingTuple(int[] factorIndicies,
java.math.BigInteger[] factorBase)
factorIndicies - - indicies of factors in the factor base| Method Detail |
public float getLog()
public int[] getFactorIndicies()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||