Changeset f0464480db in tspsg for src/mainwindow.h


Ignore:
Timestamp:
Dec 16, 2009, 11:22:05 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
0bd0e1aca7
Parents:
53f11f0e6c
Message:

+ CTSPSolver class now deletes all solution tree on cleanup and delete to avoid memory leaks.
+ List of alternate candidates for branching is now saved in every solution step and displayed on output.
+ New struct TCandidate that represents a candidate for branching.

  • Renamed sStep to SStep and tMatrix to TMatrix.
  • Made a better and more readable About window.
  • English translation is now loaded too. This is needed to support plurals (e.g., 1 candidate, 4 candidates).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.h

    r53f11f0e6c rf0464480db  
    9292        bool loadLanguage(const QString &lang = QString());
    9393        bool maybeSave();
    94         void outputMatrix(const tMatrix &matrix, QStringList &output, int nRow = -1, int nCol = -1);
     94        void outputMatrix(const TMatrix &matrix, QStringList &output);
     95        void outputMatrix(const SStep &step, QStringList &output);
    9596        bool saveTask();
    9697        void setFileName(const QString &fileName = trUtf8("Untitled") + ".tspt");
Note: See TracChangeset for help on using the changeset viewer.