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.graph.graph.EdgeModel;
007    import graphlab.graph.graph.VertexModel;
008    import graphlab.library.algorithms.traversal.BreadthFirstSearch;
009    import graphlab.platform.lang.CommandAttitude;
010    import graphlab.plugins.algorithmanimator.extension.AlgorithmExtension;
011    
012    
013    @CommandAttitude(name = "breadth_first_search", abbreviation = "_bfs")
014    public class BFSAnim
015            extends BreadthFirstSearch<VertexModel, EdgeModel>
016            implements AlgorithmExtension {
017        public String getName() {
018            return "BFS";
019        }
020    
021        public String getDescription() {
022            return "Breadth First Search";
023        }
024    }