2 * Created on Jul 6, 2007
4 * Copyright (c) 2007, the JUNG Project and the Regents of the University
8 * This software is open-source under the BSD license; see either
10 * http://jung.sourceforge.net/license.txt for a description.
12 package edu.uci.ics.jung.algorithms.scoring;
16 * An interface for algorithms that assign scores to edges.
18 * @param <E> the edge type
19 * @param <S> the score type
21 public interface EdgeScorer<E, S>
24 * Returns the algorithm's score for this edge.
25 * @return the algorithm's score for this edge
27 public S getEdgeScore(E e);