예제 #1
0
 public TreeQueue(IEnumerable <SolverNode>?start, IDebugEventPublisher report)
 {
     Statistics  = new SolverStatistics();
     depthBands  = new List <Band>();
     this.report = report;
     count       = 0;
     if (start != null)
     {
         foreach (var ss in start)
         {
             Enqueue(ss);
         }
     }
 }
예제 #2
0
 public TreeQueue(IDebugEventPublisher report) : this((IEnumerable <SolverNode>)null !, report)
예제 #3
0
 public TreeQueue(SolverNode start, IDebugEventPublisher report) : this(new[] { start }, report)
 {
 }