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.reports;
006    
007    import graphlab.extensions.reports.MaxIndependentSetReport;
008    import graphlab.graph.graph.GraphModel;
009    import graphlab.plugins.reports.basicreports.*;
010    
011    /**
012     * @author Azin Azadi
013     */
014    public class Reports {
015        /**
016         * @see graphlab.extensions.reports.MaxIndependentSetReport#getMaxIndependentSetSize(graphlab.graph.graph.GraphModel,boolean)
017         */
018        public static int getMaxIndependentSetSize(GraphModel graph, boolean putFirstVertexInSet) {
019            return MaxIndependentSetReport.getMaxIndependentSetSize(graph, putFirstVertexInSet);
020        }
021    
022        /**
023         * @see graphlab.plugins.reports.basicreports.GirthSize#getgirthSize(graphlab.graph.graph.GraphModel)
024         */
025        public static int girthSize(GraphModel graph) {
026            return GirthSize.getgirthSize(graph);
027        }
028    
029        /**
030         * @see graphlab.plugins.reports.basicreports.IsEulerian#isEulerian(graphlab.graph.graph.GraphModel)
031         */
032        public static boolean isEulerian(GraphModel graph) {
033            return IsEulerian.isEulerian(graph);
034        }
035    
036        /**
037         * @see graphlab.plugins.reports.basicreports.NumOfConnectedComponents#getNumOfConnectedComponents(graphlab.graph.graph.GraphModel)
038         */
039        public static int getNumOfConnectedComponents(GraphModel graph) {
040            return NumOfConnectedComponents.getNumOfConnectedComponents(graph);
041        }
042    
043        /**
044         * @see graphlab.plugins.reports.basicreports.NumOfQuadrangle#getNumOfQuadrangles(graphlab.graph.graph.GraphModel)
045         */
046        public static int getNumOfQuadrangles(GraphModel graph) {
047            return NumOfQuadrangle.getNumOfQuadrangles(graph);
048        }
049    
050        /**
051         * @see graphlab.plugins.reports.basicreports.NumOfTriangles#getNumOfTriangles(graphlab.graph.graph.GraphModel)
052         */
053        public static int getNumOfTriangles(GraphModel graph) {
054            return NumOfTriangles.getNumOfTriangles(graph);
055        }
056    }