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 005 package graphlab.plugins.algorithmanimator; 006 007 import graphlab.library.algorithms.coloring.SampleColoring; 008 import graphlab.plugins.algorithmanimator.extension.AlgorithmExtension; 009 010 public class SampleColoringExtension 011 extends SampleColoring 012 implements AlgorithmExtension { 013 014 public String getName() { 015 return "Sample Coloring"; 016 } 017 018 public String getDescription() { 019 return "Colors vertices by their in-degrees"; 020 } 021 022 }