- Timestamp:
- 11/23/11 13:34:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarSampleExpressionTreeView.cs
r7012 r7054 36 36 public SymbolicExpressionGrammarSampleExpressionTreeView() { 37 37 InitializeComponent(); 38 random = new MersenneTwister(); 38 random = new MersenneTwister(); 39 39 maxSampleTreeLength = int.Parse(maxTreeLengthTextBox.Text); 40 40 maxSampleTreeDepth = int.Parse(maxTreeDepthTextBox.Text); … … 101 101 private void UpdateSampleTreeView() { 102 102 try { 103 ISymbolicExpressionTreeCreator creator = ( SymbolicExpressionTreeCreator)treeCreatorComboBox.SelectedItem;103 ISymbolicExpressionTreeCreator creator = (ISymbolicExpressionTreeCreator)treeCreatorComboBox.SelectedItem; 104 104 ISymbolicExpressionTree tree = creator.CreateTree(random, Content, MaxSampleTreeLength, MaxSampleTreeDepth); 105 105 foreach (var node in tree.Root.IterateNodesPrefix().OfType<SymbolicExpressionTreeTopLevelNode>())
Note: See TracChangeset
for help on using the changeset viewer.