/[ascend]/trunk/pygtk/solverreporter.cpp
ViewVC logotype

Contents of /trunk/pygtk/solverreporter.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download) (as text)
Mon Apr 24 02:23:08 2006 UTC (18 years, 1 month ago) by johnpye
File MIME type: text/x-c++src
File size: 457 byte(s)
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.
1 #include "solverreporter.h"
2 #include <iostream>
3 using namespace std;
4
5 SolverReporter::SolverReporter(){
6 // nothing
7 }
8
9 SolverReporter::~SolverReporter(){
10 // nothing
11 }
12
13 int
14 SolverReporter::report(SolverStatus *status){
15 // cerr << "Iteration: " << status->getIterationNum() << endl;
16 return 0;
17 }
18
19 void
20 SolverReporter::finalise(SolverStatus *status){
21 if(status->isConverged()){
22 cerr << "Converged" << endl;
23 }else{
24 cerr << "Not converged" << endl;
25 }
26 }

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22