Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12828


Ignore:
Timestamp:
08/02/15 13:42:02 (9 years ago)
Author:
aballeit
Message:

#2283 better random initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GrammaticalOptimization/Evaluation/MainWindow.xaml.cs

    r12827 r12828  
    163163            ISymbolicExpressionTreeProblem problem = vm.SelectedProblem;
    164164
    165             Random random = new Random(DateTime.Now.Millisecond);
     165           
    166166
    167167            Type policy = vm.SelectedPolicy;
     
    188188            {
    189189                ISolver solver = null;
     190                Random random = new Random(Guid.NewGuid().GetHashCode());
    190191
    191192                if (algorithmType == typeof(MonteCarloTreeSearch_PruneLeaves))
Note: See TracChangeset for help on using the changeset viewer.