public void OnProgressReported(IAlgorithmProgressReport report) { lock (report) { //Send to Orleans } }
/// <summary> /// Action performed on solution finding progress change /// </summary> /// <param name="algorithmProgress"></param> protected virtual void OnProgressChanged(IAlgorithmProgressReport algorithmProgress) { CurrentProgressReport = algorithmProgress; TotalProcessorTimeCost = algorithmProgress.ProcessorTime; }