Module org.maxicp

Class LimitedDepthBranching

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

public class LimitedDepthBranching extends Object implements Supplier<Runnable[]>
  • Constructor Details

    • LimitedDepthBranching

      public LimitedDepthBranching(Supplier<Runnable[]> branching, int maxDepth)
      Creates a depth-limited combinator on a given branching.
      Parameters:
      branching - the branching on which to apply the depth-limiting combinator
      maxDepth - the maximum depth limit. Any node exceeding that limit is pruned.
  • Method Details