com.googlecode.whatswrong
Class EdgeFilter
java.lang.Object
com.googlecode.whatswrong.EdgeFilter
- All Implemented Interfaces:
- NLPInstanceFilter
- Direct Known Subclasses:
- EdgeLabelFilter, EdgeTypeFilter
public abstract class EdgeFilter
- extends Object
- implements NLPInstanceFilter
An EdgeFilter is a NLPInstanceFilter that only filters out edges.
- Author:
- Sebastian Riedel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeFilter
public EdgeFilter()
filterEdges
public abstract Collection<Edge> filterEdges(Collection<Edge> original)
- Take a set of edges and return a subset of them.
- Parameters:
original - the original set of edges.
- Returns:
- the filtered set of edges.
filter
public NLPInstance filter(NLPInstance original)
- Description copied from interface:
NLPInstanceFilter
- Filter the given instance.
- Specified by:
filter in interface NLPInstanceFilter
- Parameters:
original - the original instance.
- Returns:
- the filtered instance.
- See Also:
NLPInstanceFilter.filter(NLPInstance)
Copyright © 2013. All Rights Reserved.