Package it.unimi.dsi.webgraph
Class Transform.LowerBound
java.lang.Object
it.unimi.dsi.webgraph.Transform.LowerBound
- All Implemented Interfaces:
Transform.LabelledArcFilter
- Enclosing class:
- Transform
public static final class Transform.LowerBound extends Object implements Transform.LabelledArcFilter
An arc filter that rejects arcs whose well-known attribute has a value smaller than a given threshold.
-
Constructor Summary
Constructors Constructor Description LowerBound(int lowerBound)
LowerBound(String lowerBound)
-
Method Summary
-
Constructor Details
-
LowerBound
public LowerBound(int lowerBound) -
LowerBound
-
-
Method Details
-
accept
Returns true if the integer value associated to the well-known attribute of the label is larger than the threshold.- Specified by:
accept
in interfaceTransform.LabelledArcFilter
- Parameters:
i
- the source of the arc.j
- the destination of the arc.label
- the label of the arc.- Returns:
- true if
label.
is larger than the threshold.Label.getInt()
-