Package it.unimi.dsi.webgraph
Interface Transform.LabelledArcFilter
- All Known Implementing Classes:
IntegerLabelFilter
,Transform.LowerBound
,Transform.NodeClassFilter
- Enclosing class:
- Transform
public static interface Transform.LabelledArcFilter
Provides a method to accept or reject a labelled arc.
Note that arc filters are usually stateless. Thus, their declaration
should comprise a static singleton (e.g., Transform.NO_LOOPS
).
-
Method Summary
-
Method Details
-
accept
Tells if the arc(i,j)
with labellabel
has to be accepted or not.- Parameters:
i
- the source of the arc.j
- the destination of the arc.label
- the label of the arc.- Returns:
- if the arc has to be accepted.
-