Skip to content

kevinduh/pareto

Repository files navigation

===============================
Pareto Frontier Computation

Kevin Duh <kevinduh@is.naist.jp>
===============================

Compile: 
>> make
>> make clean


Usage:
>> ./pareto (-a algorithmName) -l file1 -s file2 ... -l fileK 

   This computes the pareto frontier given N K-dimensional datapoints. 
   There are K>1 files, each consisting of a column of N numbers. 
   The flag -l indicates larger number is better (maximize); 
   alternatively, the -s flag means smaller is better (minimize). 
   The output consists of N labels, where 1=pareto and 0=not. 

   Flag -a specifies the algorithm to use.
     Supported algorithms:
     -a bruteforce (default for K>2)
     -a stablesort (default for K=2)
     -a nondominatedsort (generates ranking, with higher number meaning higher level of pareto front)


Example:
>> ./pareto -l example.file1 -l example.file2 > example.result
- this should give: #pareto: 6 of 20 total, by the stablesort algorithm 
- see example.png for visualization of this example

------------------------------------------------------------------
Note:
  Currently, the underlying pareto algorithm uses
   - an O(NlogN) stablesort method for K=2, and
   - an O(KN^2) pairwise method for K>2. 
  Faster ones for K>2 may be implemented in the future.
  Reference: P. Godfrey, R. Shipley, J Gryz, "Algorithms and Analyses for Maximal Vector Computation", VLDB Journal, 2007 vol. 16(5). 

About

Pareto Frontier Computation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published