2 |
26 Feb 07 |
jari |
1 |
/* |
2 |
26 Feb 07 |
jari |
Copyright @ 1999-2003, The Institute for Genomic Research (TIGR). |
2 |
26 Feb 07 |
jari |
All rights reserved. |
2 |
26 Feb 07 |
jari |
4 |
*/ |
2 |
26 Feb 07 |
jari |
5 |
/* |
2 |
26 Feb 07 |
jari |
* $RCSfile: AlgorithmFactory.java,v $ |
2 |
26 Feb 07 |
jari |
* $Revision: 1.3 $ |
2 |
26 Feb 07 |
jari |
* $Date: 2005/03/10 15:46:10 $ |
2 |
26 Feb 07 |
jari |
* $Author: braistedj $ |
2 |
26 Feb 07 |
jari |
* $State: Exp $ |
2 |
26 Feb 07 |
jari |
11 |
*/ |
2 |
26 Feb 07 |
jari |
12 |
package org.tigr.microarray.mev.cluster.algorithm; |
2 |
26 Feb 07 |
jari |
13 |
|
2 |
26 Feb 07 |
jari |
14 |
/** |
2 |
26 Feb 07 |
jari |
* Each distribution of calculation algorithms must contain class, which |
2 |
26 Feb 07 |
jari |
* implements this interface. |
2 |
26 Feb 07 |
jari |
17 |
* |
2 |
26 Feb 07 |
jari |
* @version 1.0 |
2 |
26 Feb 07 |
jari |
* @author Aleksey D.Rezantsev |
2 |
26 Feb 07 |
jari |
20 |
*/ |
2 |
26 Feb 07 |
jari |
21 |
public interface AlgorithmFactory { |
2 |
26 Feb 07 |
jari |
22 |
|
2 |
26 Feb 07 |
jari |
23 |
/** |
2 |
26 Feb 07 |
jari |
* Returns an algorithm implementation by its name. |
2 |
26 Feb 07 |
jari |
25 |
* |
2 |
26 Feb 07 |
jari |
* @param name the name of an algorithm. |
2 |
26 Feb 07 |
jari |
* @throws <code>AlgorithmException</code> if an algorithm was not found. |
2 |
26 Feb 07 |
jari |
28 |
*/ |
2 |
26 Feb 07 |
jari |
29 |
public Algorithm getAlgorithm(String name) throws AlgorithmException; |
2 |
26 Feb 07 |
jari |
30 |
} |