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    package graphlab.library.genericcloners;
006    
007    import graphlab.library.BaseEdge;
008    import graphlab.library.BaseVertex;
009    
010    /**
011     * @author Omid Aladini
012     */
013    public interface EdgeConverter<ImportVertexType extends BaseVertex,
014            ExportVertexType extends BaseVertex,
015            ImportEdgeType extends BaseEdge<ImportVertexType>,
016            ExportEdgeType extends BaseEdge<ExportVertexType>> {
017        public ExportEdgeType convert(ImportEdgeType e, ExportVertexType newSource, ExportVertexType newTarget);
018    }