|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--lima.mathematical.factorisation.ecm.EcmWorkUnit
| Field Summary | |
int |
rt
|
| Constructor Summary | |
EcmWorkUnit(java.math.BigInteger n,
java.math.BigInteger sigma,
int B1,
int B2,
java.math.BigInteger k,
int curvenumber)
|
|
| Method Summary | |
int |
cost()
Guess how long this workunit will take to run, in ms on a midrange machine |
boolean |
equals(java.lang.Object o)
|
java.math.BigInteger |
gcd()
Method gcd. |
void |
generateHashCode()
WHAT DOES THIS DO? WHY? - pw |
int |
hashCode()
|
boolean |
hasRun()
Returns true iff run has completed on this workUnit. |
void |
run(lima.storage.Cache c)
Start processing this WorkUnit. |
int |
runtime()
How long this WorkUnit took to run in ms. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int rt
| Constructor Detail |
public EcmWorkUnit(java.math.BigInteger n,
java.math.BigInteger sigma,
int B1,
int B2,
java.math.BigInteger k,
int curvenumber)
| Method Detail |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void generateHashCode()
WorkUnit
generateHashCode in interface WorkUnitpublic java.lang.String toString()
toString in class java.lang.Objectpublic void run(lima.storage.Cache c)
WorkUnit
run in interface WorkUnitWorkUnit.run(lima.storage.Cache)public int cost()
WorkUnit
cost in interface WorkUnitWorkUnit.cost()
public int runtime()
throws java.lang.IllegalStateException
WorkUnit
runtime in interface WorkUnitjava.lang.IllegalStateException - iff run has not been called.WorkUnit.runtime()public boolean hasRun()
WorkUnit
hasRun in interface WorkUnitWorkUnit.hasRun()public java.math.BigInteger gcd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||