1 /*
2 * Copyright (c) 2003, The JUNG Authors
3 *
4 * All rights reserved.
5 *
6 * This software is open-source under the BSD license; see either
7 * "license.txt" or
8 * https://github.com/jrtom/jung/blob/master/LICENSE for a description.
9 */
10 package edu.uci.ics.jung.algorithms.filters;
11
12 import com.google.common.base.Function;
13
14 import edu.uci.ics.jung.graph.Graph;
15
16
17
18 /**
19 * An interface for classes that return a subset of the input <code>Graph</code>
20 * as a <code>Graph</code>. The <code>Graph</code> returned may be either a
21 * new graph or a view into an existing graph; the documentation for the filter
22 * must specify which.
23 *
24 * @author danyelf
25 */
26 public interface Filter<V,E> extends Function<Graph<V,E>, Graph<V,E>>{ }