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 Lesser General Public License (LGPL): http://www.gnu.org/licenses/ 004 005 /* 006 * PreWorkPostWorkHandler.java 007 * 008 * Created on November 13, 2004, 8:33 PM 009 */ 010 011 package graphlab.library.event.handlers; 012 013 import graphlab.library.BaseVertex; 014 015 /** 016 * Handles both prework and postwork used by algorithms such as DFS and BFS. 017 * Depending on the application, the user can define custom classes that 018 * implements PreWorkPostWorkHandler and pass thems to the algorithm. 019 * 020 * @author Omid Aladini 021 */ 022 public interface PreWorkPostWorkHandler<VertexType extends BaseVertex> 023 extends PostWorkHandler<VertexType>, PreWorkHandler<VertexType> { 024 025 }