Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

int main ( int  argc,
char *  argv[] 
)

Definition at line 675 of file mainPrecomputeKernelMatrix.cpp.

References Impala::CmdOptions::AddOption(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::Initialise(), Impala::Application::mainPrecomputeKernelMatrix(), Impala::Application::makeTestMatrix(), and Impala::CmdOptions::ParseArgs().

00676 {
00677     Impala::Link::Mpi::Init(&argc, &argv);
00678     Impala::CmdOptions& options = Impala::CmdOptions::GetInstance();
00679     options.Initialise(false, false, true);
00680     options.AddOption(0, "inputFeatures", "specify the input features and their weights (INI file only, because prun messes up the command line)", "");
00681 
00682     int code = 1;
00683     if (options.ParseArgs(argc, argv, "<dataset> <result name>", 2))
00684     {
00685         if(options.GetArg(0) == "maketest")
00686             code = Impala::Application::makeTestMatrix(options);
00687         else
00688             code = Impala::Application::mainPrecomputeKernelMatrix(options);
00689     }
00690 
00691     Impala::Link::Mpi::Finalize();
00692     return code;
00693 }

Here is the call graph for this function:


Generated on Fri Mar 19 09:34:46 2010 for ImpalaSrc by  doxygen 1.5.1