Class IntegerLabelFilter

java.lang.Object
it.unimi.dsi.big.webgraph.labelling.IntegerLabelFilter
All Implemented Interfaces:
Transform.LabelledArcFilter

public class IntegerLabelFilter extends Object implements Transform.LabelledArcFilter
  • Constructor Details

    • IntegerLabelFilter

      public IntegerLabelFilter(String key, int... value)
    • IntegerLabelFilter

      public IntegerLabelFilter(String... keyAndvalues)
  • Method Details

    • accept

      public boolean accept(long i, long j, Label label)
      Description copied from interface: Transform.LabelledArcFilter
      Tells if the arc (i,j) with label label has to be accepted or not.
      Specified by:
      accept in interface Transform.LabelledArcFilter
      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.