Init version
This commit is contained in:
36
DEC_GUI/main.cpp
Normal file
36
DEC_GUI/main.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
#include "mainwindow.h"
|
||||
#include <QApplication>
|
||||
#include <iostream>
|
||||
#include <ctime>
|
||||
#include "DEC-0.0/processor/KolchShindyalov.h"
|
||||
#include "DEC-0.0/processor/Processor.h"
|
||||
#include "DEC-0.0/processor/Settings.h"
|
||||
//#include "DEC-0.0/DerevyankoReport.h"
|
||||
#include "DEC-0.0/DerevyankoReport2014.h"
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
static const char WINDOW_TITLE[] = "DEC_GUI";
|
||||
time_t rawtime;
|
||||
time ( &rawtime );
|
||||
std::cout<<"*** Starting\tDEC v0.0 ***\t"<<ctime (&rawtime)<<std::endl;
|
||||
//Processor::test(initPSize, generations);
|
||||
//Processor::test01(/*initPSize, generations*/);
|
||||
//Processor::testInOutBreeding01();
|
||||
//KolchShindyalov::test01();
|
||||
//DerevyankoReport::reportRFBR2013_01();
|
||||
//DerevyankoReport2014::report2014_01(/*argc,argv*/);
|
||||
|
||||
time ( &rawtime );
|
||||
std::cout<<"*** Ending\tDEC v0.0 ***\t"<<ctime (&rawtime)<<std::endl;
|
||||
|
||||
MainWindow w;
|
||||
w.setWindowTitle(WINDOW_TITLE);
|
||||
w.showChooseModelDialog();
|
||||
w.showMinimized();
|
||||
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user