public MultiThreadedForwardReverseSolver(ISolverNodeFactory nodeFactory)
        {
            this.nodeFactory = nodeFactory;
            var total = Environment.ProcessorCount;

            ThreadCountForward = ThreadCountReverse = (total / 2);
        }
 public SingleThreadedForwardSolver(ISolverNodeFactory nodeFactory)
     : base(new ForwardEvaluator(nodeFactory))
 {
 }
 public SingleThreadedReverseSolver(ISolverNodeFactory nodeFactory)
     : base(new ReverseEvaluator(nodeFactory))
 {
 }
Ejemplo n.º 4
0
 public SingleThreadedForwardReverseSolver(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
 public ReverseSolver(ISolverNodeFactory nodeFactory, Worker?worker) : base(nodeFactory)
 {
     this.nodeFactory = nodeFactory;
     Worker           = worker;
 }
 public ForwardSolver(ISolverNodeFactory nodeFactory, Worker worker) : base(nodeFactory)
 {
     this.nodeFactory = nodeFactory;
     Worker           = worker;
 }
 public ForwardWorker(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
 public ReverseWorker(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
Ejemplo n.º 9
0
 public ForwardEvaluator(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
Ejemplo n.º 10
0
 public ReverseEvaluator(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
Ejemplo n.º 11
0
 protected NodeEvaluator(ISolverNodeFactory nodeFactory)
 {
     this.nodeFactory = nodeFactory;
 }
Ejemplo n.º 12
0
 public ReverseEvaluator(ISolverNodeFactory nodeFactory) : base(nodeFactory)
 {
 }
Ejemplo n.º 13
0
 public ForwardEvaluator(ISolverNodeFactory nodeFactory) : base(nodeFactory)
 {
 }