Class HopRewriteRule

    • Constructor Detail

      • HopRewriteRule

        public HopRewriteRule()
    • Method Detail

      • rewriteHopDAGs

        public abstract ArrayList<Hop> rewriteHopDAGs​(ArrayList<Hop> roots,
                                                      ProgramRewriteStatus state)
        Handle a generic (last-level) hop DAG with multiple roots.
        Parameters:
        roots - high-level operator roots
        state - program rewrite status
        Returns:
        list of high-level operators
      • rewriteHopDAG

        public abstract Hop rewriteHopDAG​(Hop root,
                                          ProgramRewriteStatus state)
        Handle a predicate hop DAG with exactly one root.
        Parameters:
        root - high-level operator root
        state - program rewrite status
        Returns:
        high-level operator