libFAUDES

Sections

Index

pex_tutorial.cpp

Go to the documentation of this file.
00001 /** @file pex_tutorial.cpp  
00002 
00003 Tutorial, example plugin. This tutorial demonstrates
00004 how to organize tutorials in plugins.
00005 
00006 @ingroup Tutorials 
00007 
00008 @include pex_tutorial.cpp
00009 
00010 */
00011 
00012 #include "libfaudes.h"
00013 
00014 // make the faudes namespace available to our program
00015 using namespace faudes;
00016 
00017 
00018 /** Run the tutorial */
00019 int main() {
00020 
00021   // read generator from file
00022   Generator gen("data/g_notacc.gen");
00023 
00024   // run algorithm
00025   AlternativeAccessible(gen);
00026 
00027   // write result
00028   gen.Write("tmp_altacc.gen");
00029 
00030   // done
00031   return 0;
00032 }
00033 
00034 
00035 

libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6