Class Dyadic

    • Constructor Detail

      • 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 Detail

      • 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
      • dependsOn

        public boolean dependsOn​(Graph other)
        Generic dependsOn, true iff it depends on either of the subgraphs.
        Specified by:
        dependsOn in interface Graph
        Overrides:
        dependsOn in class GraphBase
        Parameters:
        other - the graph this graph may depend on
        Returns:
        false if this does not depend on other
      • getL

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

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