Re: Simple integer factorization algorithm



On Sat, 29 Nov 2008 08:46:44 -0800 (PST), JSH <jstevh@xxxxxxxxx>
wrote:

The discussion is moving. Besides, it's useless to put up code that
is NOT for the algorithm that is current.
My code was general testing code, not specific to your algorithm.
Look at the method jshFactor:

/** Runs the JSH Factorisation algorithm */
static Tuple2<Integer, Integer> jshFactor(int num) {
// Dummy return
return new Tuple2(num, 1);
} // end jshFactor

It is just a stub which could equally well be replaced by any other
factoring algorithm.

rossum

.