Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/14 15:58:32 (10 years ago)
Author:
bburlacu
Message:

#2098: Updated SymbolicDiscriminantFunctionClassificationSolutionExcelExporter (added the missing functionality).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Exporters/SymbolicSolutionExcelExporter.cs

    r11523 r11541  
    4444    }
    4545
    46     public void Export(IDataAnalysisSolution solution, string fileName) {
     46    public virtual void Export(IDataAnalysisSolution solution, string fileName) {
    4747      var symbSolution = solution as ISymbolicDataAnalysisSolution;
    4848      if (symbSolution == null) throw new NotSupportedException("This solution cannot be exported to Excel");
     
    5252    }
    5353
    54     protected virtual void ExportChart(string fileName, ISymbolicDataAnalysisSolution solution, string formula) {
     54    private void ExportChart(string fileName, ISymbolicDataAnalysisSolution solution, string formula) {
    5555      FileInfo newFile = new FileInfo(fileName);
    5656      if (newFile.Exists) {
     
    8585    }
    8686
    87     protected virtual void FormatModelSheet(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisSolution solution, IEnumerable<string> formulaParts) {
     87    private void FormatModelSheet(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisSolution solution, IEnumerable<string> formulaParts) {
    8888      int row = 1;
    8989      modelWorksheet.Cells[row, 1].Value = "Model";
     
    224224    }
    225225
    226     protected virtual void AddCharts(ExcelWorksheet chartsWorksheet) {
     226    private void AddCharts(ExcelWorksheet chartsWorksheet) {
    227227      chartsWorksheet.Names.AddFormula("AllId", "OFFSET('Estimated Values'!$A$1,1,0, COUNTA('Estimated Values'!$A:$A)-1)");
    228228      chartsWorksheet.Names.AddFormula("AllTarget", "OFFSET('Estimated Values'!$B$1,1,0, COUNTA('Estimated Values'!$B:$B)-1)");
     
    260260    }
    261261
    262     protected virtual void AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) {
     262    protected void AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) {
    263263      SymbolicExpressionTreeChart modelTreePicture = new SymbolicExpressionTreeChart();
    264264      modelTreePicture.Tree = model.SymbolicExpressionTree;
Note: See TracChangeset for help on using the changeset viewer.