simsab-ufcg / Promethee2

Implementation of Promethee with optimization
MIT License
12 stars 7 forks source link

Umbu and Threads versions are now available and new flags #56

Closed FMota0 closed 6 years ago

FMota0 commented 6 years ago

The flag -hq now is available you can use it like ./run samples/sample3/input samples/sample3/meta out/sample3 -hq=2

also, the flag of vanilla was changed, to use vanilla you can run as in the example: ./run -van samples/sample1/input samples/sample1/meta out/sample1 -hq=4 And the main is simpler now.

The flag -thr will run promethee optimized with threads.

The flag -um will run promethee umbu. For promethee umbu the following command options should be specified: Example: ./run -um tif weight -chunk=1111 -ismax -type=linear (args...) -chunk=, for max amount of distinct values in a chunk. -ismax, for indicate that the objective is to maximaze. -type=, what type of function to be used ("linear" or "linearWithIndifference") (args...), represent the arguments for the specified type of function

Solve issues #45 and #50. The issue #37 can be seen as solved, since the input reader change depending of the promethee version, Umbu reads from tif, others read from txt