IBM®
跳转到主要内容
    中国 [选择]    使用条款
 
 
Select a scope: Search for:    
    首页    产品    服务与解决方案     支持与下载    个性化服务    
跳转到主要内容

developerWorks 中国  >  Grid computing  >

Crunch big numbers with GT3 using a quadratic sieve

Listing 2: Factorization service interface

developerWorks

Return to article.

package factorization.service.impl;
/**
 * Title: Factorization Library
 * Description: A factorization lib based on the quadratic sieve
 * Copyright: Copyright (c) 2004
 * Company: ACME
 * @author Vladimir Silva
 * @version 1.0
 */
public interface Factorization {
      /**
       * Remote factorization method
       * @param bigNum Number to factorize
       * @param outFile Output file path (contains factors)
       * @param options: -verbose to display process output
       */
public String factorize(String bigNum, String outFile, String options);
}

Return to article.

    关于 IBM 隐私条约 联系 IBM 使用条款