Changeset 8409 for branches/HeuristicLab.TreeSimplifier
- Timestamp:
- 08/03/12 19:28:39 (12 years ago)
- Location:
- branches/HeuristicLab.TreeSimplifier
- Files:
-
- 10 added
- 9 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TreeSimplifier/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4.csproj
r8395 r8409 158 158 </ItemGroup> 159 159 <ItemGroup> 160 <Compile Include="InteractiveSymbolicExpressionTreeChart.cs">161 <SubType>UserControl</SubType>162 </Compile>163 <Compile Include="InteractiveSymbolicExpressionTreeChart.Designer.cs">164 <DependentUpon>InteractiveSymbolicExpressionTreeChart.cs</DependentUpon>165 </Compile>166 160 <Compile Include="Plugin.cs" /> 167 161 <Compile Include="SymbolicExpressionGrammarAllowedChildSymbolsControl.cs"> … … 188 182 <Compile Include="SymbolicExpressionGrammarView.Designer.cs"> 189 183 <DependentUpon>SymbolicExpressionGrammarView.cs</DependentUpon> 190 </Compile>191 <Compile Include="SymbolicExpressionTreeNodeChangeValueDialog.cs">192 <SubType>Form</SubType>193 </Compile>194 <Compile Include="SymbolicExpressionTreeNodeChangeValueDialog.Designer.cs">195 <DependentUpon>SymbolicExpressionTreeNodeChangeValueDialog.cs</DependentUpon>196 </Compile>197 <Compile Include="SymbolicExpressionTreeNodeInsertDialog.cs">198 <SubType>Form</SubType>199 </Compile>200 <Compile Include="SymbolicExpressionTreeNodeInsertDialog.Designer.cs">201 <DependentUpon>SymbolicExpressionTreeNodeInsertDialog.cs</DependentUpon>202 184 </Compile> 203 185 <Compile Include="SymbolView.cs"> … … 250 232 <Install>true</Install> 251 233 </BootstrapperPackage> 252 </ItemGroup>253 <ItemGroup>254 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Symbolic\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj">255 <Project>{3D28463F-EC96-4D82-AFEE-38BE91A0CA00}</Project>256 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name>257 </ProjectReference>258 234 </ItemGroup> 259 235 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r8388 r8409 167 167 </ItemGroup> 168 168 <ItemGroup> 169 <Compile Include="InteractiveSymbolicExpressionTreeChart.cs"> 170 <SubType>UserControl</SubType> 171 </Compile> 172 <Compile Include="InteractiveSymbolicExpressionTreeChart.Designer.cs"> 173 <DependentUpon>InteractiveSymbolicExpressionTreeChart.cs</DependentUpon> 174 </Compile> 169 175 <Compile Include="MathSymbolicDataAnalysisModelView.cs"> 170 176 <SubType>UserControl</SubType> … … 221 227 <Compile Include="Symbols\VariableView.Designer.cs"> 222 228 <DependentUpon>VariableView.cs</DependentUpon> 229 </Compile> 230 <Compile Include="TreeEditDialogs\SymbolicExpressionTreeNodeChangeValueDialog.cs"> 231 <SubType>Form</SubType> 232 </Compile> 233 <Compile Include="TreeEditDialogs\SymbolicExpressionTreeNodeChangeValueDialog.Designer.cs"> 234 <DependentUpon>SymbolicExpressionTreeNodeChangeValueDialog.cs</DependentUpon> 235 </Compile> 236 <Compile Include="TreeEditDialogs\SymbolicExpressionTreeNodeInsertDialog.cs"> 237 <SubType>Form</SubType> 238 </Compile> 239 <Compile Include="TreeEditDialogs\SymbolicExpressionTreeNodeInsertDialog.Designer.cs"> 240 <DependentUpon>SymbolicExpressionTreeNodeInsertDialog.cs</DependentUpon> 223 241 </Compile> 224 242 <None Include="HeuristicLab.snk" /> -
branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.Designer.cs
r8388 r8409 52 52 this.btnPrune = new System.Windows.Forms.Button(); 53 53 this.btnOptimizeConstants = new System.Windows.Forms.Button(); 54 this.treeChart = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.InteractiveSymbolicExpressionTreeChart();54 this.treeChart = new InteractiveSymbolicExpressionTreeChart(); 55 55 this.grpViewHost = new System.Windows.Forms.GroupBox(); 56 56 this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker(); … … 66 66 // viewHost 67 67 // 68 this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 69 | System.Windows.Forms.AnchorStyles.Left) 68 this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 69 | System.Windows.Forms.AnchorStyles.Left) 70 70 | System.Windows.Forms.AnchorStyles.Right))); 71 71 this.viewHost.Caption = "View"; … … 112 112 // flowLayoutPanel 113 113 // 114 this.flowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 114 this.flowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 115 115 | System.Windows.Forms.AnchorStyles.Right))); 116 116 this.flowLayoutPanel.Controls.Add(this.btnSimplify); … … 157 157 // treeChart 158 158 // 159 this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 160 | System.Windows.Forms.AnchorStyles.Left) 159 this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 160 | System.Windows.Forms.AnchorStyles.Left) 161 161 | System.Windows.Forms.AnchorStyles.Right))); 162 162 this.treeChart.BackgroundColor = System.Drawing.Color.White; … … 214 214 #endregion 215 215 216 private HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.InteractiveSymbolicExpressionTreeChart treeChart;216 private InteractiveSymbolicExpressionTreeChart treeChart; 217 217 private System.Windows.Forms.SplitContainer splitContainer; 218 218 private HeuristicLab.MainForm.WindowsForms.ViewHost viewHost; -
branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r8388 r8409 209 209 210 210 private void treeChart_SymbolicExpressionTreeChanged(object sender, EventArgs e) { 211 CalculateReplacementNodesAndNodeImpacts(treeChart.Tree); 212 PaintModel(); 211 updateInProgress = true; 212 UpdateModel(model); 213 updateInProgress = false; 214 CalculateReplacementNodesAndNodeImpacts(); 213 215 } 214 216 … … 354 356 } else { 355 357 // The operation completed normally. We can update the model 358 updateInProgress = true; 356 359 UpdateModel(model); 360 updateInProgress = false; 357 361 } 358 362 btnPrune.Enabled = true;
Note: See TracChangeset
for help on using the changeset viewer.