Merge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"
[controller.git] / third-party / net.sf.jung2 / src / main / java / edu / uci / ics / jung / algorithms / scoring / VertexScorer.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 vertices.
17  *
18  * @param <V> the vertex type
19  * @param <S> the score type
20  */
21 public interface VertexScorer<V, S>
22 {
23     /**
24      * Returns the algorithm's score for this vertex.
25      * @return the algorithm's score for this vertex
26      */
27     public S getVertexScore(V v);
28 }