001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.plugins.algorithmanimator;
005    
006    import graphlab.library.BaseEdge;
007    import graphlab.library.BaseVertex;
008    import graphlab.library.algorithms.spanningtree.Prim;
009    import graphlab.plugins.algorithmanimator.extension.AlgorithmExtension;
010    
011    public class PrimAnim
012            extends Prim<BaseVertex, BaseEdge<BaseVertex>>
013            implements AlgorithmExtension {
014    
015        public PrimAnim() {
016            super(null, null);
017        }
018    
019        public String getName() {
020            return "Prim";
021        }
022    
023        public String getDescription() {
024            return "Prim Minimum Spanning Tree";
025        }
026    }