Module org.maxicp

Class Sequencer

java.lang.Object
org.maxicp.search.Sequencer
All Implemented Interfaces:
Supplier<Runnable[]>

public class Sequencer extends Object implements Supplier<Runnable[]>
Sequential Search combinator that linearly considers a list of branching generator. One branching of this list is executed when all the previous ones are exhausted, that is they return an empty array.
  • Constructor Details

    • Sequencer

      public Sequencer(Supplier<Runnable[]>... branching)
      Creates a sequential search combinator.
      Parameters:
      branching - the sequence of branching
  • Method Details