Package org.eolang.jeo.improvement
Class XmirFootprint
- java.lang.Object
-
- org.eolang.jeo.improvement.XmirFootprint
-
- All Implemented Interfaces:
Improvement
public final class XmirFootprint extends Object implements Improvement
Footprint of the Xmir.- Since:
- 0.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.jeo.Improvement
Improvement.Dummy, Improvement.Mock
-
-
Constructor Summary
Constructors Constructor Description XmirFootprint(Path home)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Representation>apply(Collection<? extends Representation> representations)Apply the improvement.
-
-
-
Constructor Detail
-
XmirFootprint
public XmirFootprint(Path home)
Constructor.- Parameters:
home- Where to save the Xmir.
-
-
Method Detail
-
apply
public Collection<Representation> apply(Collection<? extends Representation> representations)
Description copied from interface:ImprovementApply the improvement.- Specified by:
applyin interfaceImprovement- Parameters:
representations- IRs to optimize.- Returns:
- Optimized IRs.
-
-