Package org.encog.ml.ea.score.parallel

Examples of org.encog.ml.ea.score.parallel.ParallelScore


    } else {
      this.actualThreadCount = this.threadCount;
    }

    // score the initial population
    final ParallelScore pscore = new ParallelScore(getPopulation(),
        getCODEC(), new ArrayList<AdjustScore>(), getScoreFunction(),
        this.actualThreadCount);
    pscore.setThreadCount(this.actualThreadCount);
    pscore.process();
    this.actualThreadCount = pscore.getThreadCount();

    // start up the thread pool
    if (this.actualThreadCount == 1) {
      this.taskExecutor = Executors.newSingleThreadScheduledExecutor();
    } else {
View Full Code Here

TOP

Related Classes of org.encog.ml.ea.score.parallel.ParallelScore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.