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.extensions.reports;
006    
007    public interface ColoringListener {
008    
009        /**
010         * Fires whenever a coloring is found
011         *
012         * @param t the maximum color, so the set of colors will be {1, 2, ..., t}
013         * @return
014         */
015        public boolean coloringFound(final int t);
016    }