A fuzzy logic C++ library
Defines | Functions
compute-score.cpp File Reference

Loads a FIS, reads data file and compute score for each line of datafile, output is in output file (arg3) More...

#include "app_common.hpp"
#include "slifis.hpp"
#include <GetPot>
+ Include dependency graph for compute-score.cpp:

Defines

#define STDERR_FILE_NAME   "stderr_compute-score.txt"

Functions

int main (int argc, char **argv)
 see file compute-score.cpp
void usage ()
 Prints application usage (arguments)

Detailed Description

Loads a FIS, reads data file and compute score for each line of datafile, output is in output file (arg3)

Arguments

  1. input datafile (.csv style)
  2. input FIS file (.fis)
  3. column of datafile that contains output values (starting from 1 !)
  4. string containing the column index of desired inputs ( for example : "2;3;6;8;10;11;12" (must be ordered !!!)
  5. output file name
  6. performance file name

Plus the following options :

If not given, then app will use the currently default method defined by the FIS (See SLIFIS documentation).


Define Documentation

#define STDERR_FILE_NAME   "stderr_compute-score.txt"

Referenced by main().


Function Documentation

int main ( int  argc,
char **  argv 
)
void usage ( )

Prints application usage (arguments)