Main Menu

fet with java

Started by mnm, July 23, 2009, 05:38:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mnm

HI to all
I convert fet source code to java source .
any one have idea or suggestion for this job . :D



Liviu Lalescu

I have suggestions: I suggest that you only convert the engine, maybe from src/interface get fet.cpp.

I used in the engine some advanced Qt classes: QHash and QSet,  I am not sure if you have these in Java. And also QList, but I think you have this.

It can be a difficult task, this one you chose. The bad thing is that if I improve the current version, you won't have these improvements.

Maybe you could use the command line version of FET and make your own interface. Or use the C++ code as it is, by calling it directly.

mnm

thanks for your reply

now i can chose one of three offer jobs
1)I convert QHash and QSet in your fet.cpp file to equivalent in java >:(
or
2)use the C++ code as it is >:(
or
3)use the command line version of FET :)

if I chose 3 and write a swing interface and use fet command
how install "fet command"?
thanks

Liviu Lalescu

To use FET command line, please read the README file. In essence, run "fet[.exe] --inputfile=datafile.fet ....other options". The same fet executable, but if you add parameters it will be command line version.