Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/19 22:40:31 (6 years ago)
Author:
hmaislin
Message:

#2929: Modified make / folder structure to build original app, added x86 dll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/src/go-pge/pge/pge_search.go

    r16620 r16666  
    262262  PS.eval_out = make(chan *probs.ExprReport, 4048)
    263263
    264   fmt.Printf("Init5a\n")
    265264  for i := 0; i < PS.cnfg.evalrCount; i++ {
    266265    go PS.Evaluate()
     
    306305
    307306    // if PS.iter%PS.cnfg.pgeRptEpoch == 0 {
    308     PS.reportExpr()
     307    PS.ReportExpr(false)
    309308    // }
    310309
     
    349348
    350349  fmt.Println("PGE sending last report")
    351   PS.reportExpr()
     350  PS.ReportExpr(false)
    352351
    353352}
     
    473472  PS.commup.Res <- &inserts
    474473
    475   PS.reportExpr()
     474  PS.ReportExpr(false)
    476475  PS.iter++
    477476
     
    549548}
    550549
    551 //Hier ist das pgeRpt problem, liefert immer die besten pgerpt cnt ergebnisse zurueck
    552 // //*
    553 func (PS *PgeSearch) reportExpr() {
     550func (PS *PgeSearch) ReportExpr(writeChannel bool) {
    554551
    555552  cnt := PS.cnfg.pgeRptCount
    556553  PS.Best.Sort()
    557554
    558   // repot best equations
     555  // report best equations
    559556  rpt := make(probs.ExprReportArray, cnt)
    560557  if PS.Best.Len() < cnt {
     
    571568  }
    572569
    573   //PS.commup.Rpts <- &rpt
    574 
     570  if writeChannel {
     571    PS.commup.Rpts <- &rpt
     572  }
    575573}
    576574
Note: See TracChangeset for help on using the changeset viewer.