Class RepetitiveOptimizer

java.lang.Object
org.kink_lang.kink.internal.program.itreeoptimize.RepetitiveOptimizer
All Implemented Interfaces:
Function<Itree,Itree>, UnaryOperator<Itree>

public class RepetitiveOptimizer extends Object implements UnaryOperator<Itree>
Composite optimizer which applies the component optimizers until it reaches the fixed point.
  • Constructor Details

    • RepetitiveOptimizer

      public RepetitiveOptimizer(List<? extends Function<? super Itree,? extends Itree>> componentOptimizers)
      Constructs a composite optimizer.
      Parameters:
      componentOptimizers - the list of optimizers which are applied repetitively.
  • Method Details