mev-4.0.01/source/org/tigr/microarray/mev/cluster/algorithm/AlgorithmFactory.java

Code
Comments
Other
Rev Date Author Line
2 26 Feb 07 jari 1 /*
2 26 Feb 07 jari 2 Copyright @ 1999-2003, The Institute for Genomic Research (TIGR).
2 26 Feb 07 jari 3 All rights reserved.
2 26 Feb 07 jari 4 */
2 26 Feb 07 jari 5 /*
2 26 Feb 07 jari 6  * $RCSfile: AlgorithmFactory.java,v $
2 26 Feb 07 jari 7  * $Revision: 1.3 $
2 26 Feb 07 jari 8  * $Date: 2005/03/10 15:46:10 $
2 26 Feb 07 jari 9  * $Author: braistedj $
2 26 Feb 07 jari 10  * $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 15  * Each distribution of calculation algorithms must contain class, which
2 26 Feb 07 jari 16  * implements this interface.
2 26 Feb 07 jari 17  *
2 26 Feb 07 jari 18  * @version 1.0
2 26 Feb 07 jari 19  * @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 24      * Returns an algorithm implementation by its name.
2 26 Feb 07 jari 25      *
2 26 Feb 07 jari 26      * @param name the name of an algorithm.
2 26 Feb 07 jari 27      * @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 }