Initial opendaylight infrastructure commit!!
[controller.git] / third-party / net.sf.jung2 / src / main / java / edu / uci / ics / jung / algorithms / scoring / EdgeScorer.java
1 /*
2  * Created on Jul 6, 2007
3  *
4  * Copyright (c) 2007, the JUNG Project and the Regents of the University 
5  * of California
6  * All rights reserved.
7  *
8  * This software is open-source under the BSD license; see either
9  * "license.txt" or
10  * http://jung.sourceforge.net/license.txt for a description.
11  */
12 package edu.uci.ics.jung.algorithms.scoring;
13
14
15 /**
16  * An interface for algorithms that assign scores to edges.
17  *
18  * @param <E> the edge type
19  * @param <S> the score type
20  */
21 public interface EdgeScorer<E, S>
22 {
23     /**
24      * Returns the algorithm's score for this edge.
25      * @return the algorithm's score for this edge
26      */
27     public S getEdgeScore(E e);
28 }