Package joshua.discriminative.training.risk_annealer.hypergraph.parallel

Examples of joshua.discriminative.training.risk_annealer.hypergraph.parallel.HGProducer


     //== queue
      //System.out.println("maxNumHGInQueue=" + maxNumHGInQueue);
     BlockingQueue<HGAndReferences> queue = new ArrayBlockingQueue<HGAndReferences>(maxNumHGInQueue);
    
     //== producer
     HGProducer producer = new HGProducer(hgFactory, queue, numThreads, numSentence);
     
     //== consumers
     List<GradientConsumer> consumers = new ArrayList<GradientConsumer>();
     for(int i=0; i<numThreads; i++){
      
View Full Code Here

TOP

Related Classes of joshua.discriminative.training.risk_annealer.hypergraph.parallel.HGProducer

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.