192193194195196197198199200201202
ncpInstance.setDataPool(dataPool); loadData(dataPool, new File(fileOrFolder), settings); long start = System.currentTimeMillis(); Solution solution = ncpInstance.doWork(); // ConstraintChecker.printStatistics(solution); return start; }
5152535455565758
ncpInstance.setCondition(new AlgorithmConditionIteration(5)); ncpInstance.setDataPoolSettings(settings); ncpInstance.setStatusBar(new SilentConsoleStatusBar()); ncpInstance.setDataPool(dataPool); ncpInstance.doWork(); } }
165166167168169170171172
ncpInstance.setCondition(new AlgorithmConditionIteration(1000)); ncpInstance.setDataPoolSettings(settings); ncpInstance.setStatusBar(new SilentConsoleStatusBar()); ncpInstance.setDataPool(dataPool); ncpInstance.doWork(); } }