Class Dyadic

All Implemented Interfaces:
Graph, GraphWithPerform
Direct Known Subclasses:
Difference, DisjointUnion, Intersection, Union

public abstract class Dyadic extends CompositionBase
Base class for the two-operand composition operations; has two graphs L and R
  • Constructor Details

    • Dyadic

      public Dyadic(Graph L, Graph R)
      When the graph is constructed, copy the prefix mappings of both components into this prefix mapping. The prefix mapping doesn't change afterwards with the components, which might be regarded as a bug.
  • Method Details

    • close

      public void close()
      Description copied from class: GraphBase
      Close this graph. Subgraphs may extend to discard resources.
      Specified by:
      close in interface Graph
      Overrides:
      close in class GraphBase
    • union

      public Union union(Graph X)
    • getL

      public Graph getL()
      Answer the left (first) operand of this Dyadic.
    • getR

      public Graph getR()
      Answer the right (second) operand of this Dyadic.