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 Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(long i, long t)
    Tells if the arc (i,j) has to be accepted or not.
  • Method Details

    • accept

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