Interface Transform.ArcFilter

  • All Known Implementing Classes:
    Transform.NodeClassFilter
    Enclosing class:
    Transform

    public static interface Transform.ArcFilter
    Provides a method to accept or reject an arc.

    Note that arc filters are usually stateless. Thus, their declaration should comprise a static singleton (e.g., Transform.NO_LOOPS).

    • Method Detail

      • accept

        boolean accept​(int i,
                       int j)
        Tells if the arc (i,j) has to be accepted or not.
        Parameters:
        i - the source of the arc.
        j - the destination of the arc.
        Returns:
        if the arc has to be accepted.