Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/20/16 10:45:48 (8 years ago)
Author:
thasling
Message:

#2615:
re-enabled log in P2PMigrationAnalyzer
made code formatings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/thasling/DistributedGA/DistributedGA.Hive/P2PMigrationAnalyzer.cs

    r14254 r14261  
    284284              scope.SubScopes.Insert(insertPos, immigrantScope);
    285285
    286               // var log = LogParameter.Value;
    287               // double quality = qImmigrant;
    288               // log.LogMessage(string.Format("Recieved individual with quality {0} from peer {1}:{2} ; Job: {3}",
    289               //                               quality, msg.Key.IpAddress, msg.Key.Port, msg.Key.ProblemInstance));
     286              var log = LogParameter.Value;
     287              double quality = qImmigrant;
     288              log.LogMessage(string.Format("Recieved individual with quality {0} from peer {1}:{2} ; Job: {3}",
     289                                             quality, msg.Key.IpAddress, msg.Key.Port, msg.Key.ProblemInstance));
    290290            }
    291291          }
Note: See TracChangeset for help on using the changeset viewer.