Beispiel #1
0
        private void Iterate()
        {
            if (_iterationCountForPlaceFindingAndPreemptiveSet++ >= 1000)
            {
                _view.AppendStatus($"Completed {_iterationCountForPlaceFindingAndPreemptiveSet} iteration of PlaceFinding and PreemptiveSet but still No solution is reached.");
                return;
            }

            PlaceFinding();
            PreemptiveSet();
        }