public class TransformReorder extends TransformCopy
This transformer may be slightly naive in that it only leverages the
ReorderTransformation.reorder(BasicPattern)
method and does not use
the ReorderTransformation.reorderIndexes(BasicPattern)
method at all
so may not achieve the best reordering
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
Constructor and Description |
---|
TransformReorder()
Creates a Transformer that uses the fixed reordering provided by
ReorderLib.fixed() |
TransformReorder(ReorderTransformation reorder)
Creates a Transformer that uses the given reordering
|
Modifier and Type | Method and Description |
---|---|
Op |
transform(OpBGP opBGP)
Transforms BGPs with the reordering
|
Op |
transform(OpQuadPattern opQuadPattern)
Transforms Quad Patterns with the reordering
|
transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform
public TransformReorder()
ReorderLib.fixed()
public TransformReorder(ReorderTransformation reorder)
public Op transform(OpBGP opBGP)
transform
in interface Transform
transform
in class TransformCopy
public Op transform(OpQuadPattern opQuadPattern)
transform
in interface Transform
transform
in class TransformCopy
Licenced under the Apache License, Version 2.0