Package edu.jas.fd

Class SGCDParallelProxy<C extends GcdRingElem<C>>

  • All Implemented Interfaces:
    GreatestCommonDivisor<C>, java.io.Serializable

    public class SGCDParallelProxy<C extends GcdRingElem<C>>
    extends GreatestCommonDivisorAbstract<C>
    Solvable greatest common divisor parallel proxy. Executes methods from two implementations in parallel and returns the result from the fastest run. Uses timeout on invokeAny() and return fake common divisor 1 in case of timeout.
    See Also:
    Serialized Form