Interface IValueGraphEdgePredicate<N,​V>

  • Type Parameters:
    N - Node parameter type
    V - Value parameter type
    All Known Subinterfaces:
    IFlowGraphFilterInstance

    public interface IValueGraphEdgePredicate<N,​V>
    A predicate on an edge of a ValueGraph.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(N nodeU, N nodeV, V edgeValue)
      Evaluates this predicate on the given edge from a ValueGraph.
    • Method Detail

      • test

        boolean test​(N nodeU,
                     N nodeV,
                     V edgeValue)
        Evaluates this predicate on the given edge from a ValueGraph. For directed graph, (nodeU, nodeV) is an edge from node U to node V.
        Parameters:
        nodeU - First node of the edge.
        nodeV - Second node of the edge.
        edgeValue - Value of the edge.
        Returns:
        true if the input edge matches the predicate, otherwise false