Changeset 423
- Timestamp:
- 08/02/08 11:32:52 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.StructureIdentification
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/GPOperatorGroup.cs
r186 r423 98 98 } 99 99 100 RecalculateAllowedSuboperators();101 RecalculateMinimalTreeBounds();100 //RecalculateAllowedSuboperators(); 101 //RecalculateMinimalTreeBounds(); 102 102 103 103 OnOperatorAdded(op); … … 291 291 op.RemoveVariable(GPOperatorLibrary.ALLOWED_SUBOPERATORS); 292 292 op.RemoveVariable(GPOperatorLibrary.TICKETS); 293 294 293 OnOperatorRemoved(op); 295 294 } … … 312 311 } 313 312 } 313 314 internal void Prepare() { 315 RecalculateAllowedSuboperators(); 316 RecalculateMinimalTreeBounds(); 317 } 314 318 } 315 319 -
trunk/sources/HeuristicLab.StructureIdentification/GPOperatorLibrary.cs
r177 r423 87 87 88 88 #endregion 89 90 internal void Prepare() { 91 GPOperatorGroup.Prepare(); 92 } 89 93 } 90 94 } -
trunk/sources/HeuristicLab.StructureIdentification/GPOperatorLibraryEditor.Designer.cs
r2 r423 54 54 this.mutationTabPage = new System.Windows.Forms.TabPage(); 55 55 this.mutationSplitContainer = new System.Windows.Forms.SplitContainer(); 56 this.mutationListView = new System.Windows.Forms.ListView(); 56 57 this.mutationVariableView = new HeuristicLab.Core.VariableView(); 57 this. mutationListView = new System.Windows.Forms.ListView();58 this.preprocessButton = new System.Windows.Forms.Button(); 58 59 this.tabControl.SuspendLayout(); 59 60 this.operatorLibraryTabPage.SuspendLayout(); … … 93 94 // operatorLibraryTabPage 94 95 // 96 this.operatorLibraryTabPage.Controls.Add(this.preprocessButton); 95 97 this.operatorLibraryTabPage.Controls.Add(this.operatorLibraryEditor); 96 98 this.operatorLibraryTabPage.Location = new System.Drawing.Point(4, 22); … … 178 180 this.mutationSplitContainer.SplitterDistance = 221; 179 181 this.mutationSplitContainer.TabIndex = 0; 180 //181 // mutationVariableView182 //183 this.mutationVariableView.Caption = "Variable";184 this.mutationVariableView.Dock = System.Windows.Forms.DockStyle.Fill;185 this.mutationVariableView.Location = new System.Drawing.Point(0, 0);186 this.mutationVariableView.Name = "mutationVariableView";187 this.mutationVariableView.Size = new System.Drawing.Size(438, 529);188 this.mutationVariableView.TabIndex = 0;189 this.mutationVariableView.Variable = null;190 182 // 191 183 // mutationListView … … 200 192 this.mutationListView.View = System.Windows.Forms.View.List; 201 193 this.mutationListView.SelectedIndexChanged += new System.EventHandler(this.mutationListView_SelectedIndexChanged); 194 // 195 // mutationVariableView 196 // 197 this.mutationVariableView.Caption = "Variable"; 198 this.mutationVariableView.Dock = System.Windows.Forms.DockStyle.Fill; 199 this.mutationVariableView.Location = new System.Drawing.Point(0, 0); 200 this.mutationVariableView.Name = "mutationVariableView"; 201 this.mutationVariableView.Size = new System.Drawing.Size(438, 529); 202 this.mutationVariableView.TabIndex = 0; 203 this.mutationVariableView.Variable = null; 204 // 205 // preprocessButton 206 // 207 this.preprocessButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 208 this.preprocessButton.Location = new System.Drawing.Point(440, 509); 209 this.preprocessButton.Name = "preprocessButton"; 210 this.preprocessButton.Size = new System.Drawing.Size(75, 23); 211 this.preprocessButton.TabIndex = 1; 212 this.preprocessButton.Text = "Prepare"; 213 this.preprocessButton.UseVisualStyleBackColor = true; 214 this.preprocessButton.Click += new System.EventHandler(this.preprocessButton_Click); 202 215 // 203 216 // GPOperatorLibraryEditor … … 235 248 private System.Windows.Forms.ListView initListView; 236 249 private System.Windows.Forms.ListView mutationListView; 250 private System.Windows.Forms.Button preprocessButton; 237 251 } 238 252 } -
trunk/sources/HeuristicLab.StructureIdentification/GPOperatorLibraryEditor.cs
r2 r423 150 150 } 151 151 } 152 153 private void preprocessButton_Click(object sender, EventArgs e) { 154 ((GPOperatorLibrary)OperatorLibrary).Prepare(); 155 } 152 156 } 153 157 }
Note: See TracChangeset
for help on using the changeset viewer.