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

    Modifier and Type Method Description
    boolean accept​(int i, int j, Label label)
    Tells if the arc (i,j) with label label has to be accepted or not.
  • Method Details

    • accept

      boolean accept​(int i, int j, Label label)
      Tells if the arc (i,j) with label label 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.