|
|
||||||
|
#include "libfaudes.h" Go to the source code of this file.
Detailed Description
Tutorial, example plugin. This tutorial demonstrates how to organize tutorials in plugins. /** @file pex_tutorial.cpp
Tutorial, example plugin. This tutorial demonstrates
how to organize tutorials in plugins.
@ingroup Tutorials
@include pex_tutorial.cpp
*/
#include "libfaudes.h"
// make the faudes namespace available to our program
using namespace faudes;
/** Run the tutorial */
int main() {
// read generator from file
Generator gen("data/g_notacc.gen");
// run algorithm
AlternativeAccessible(gen);
// write result
gen.Write("tmp_altacc.gen");
// Record test case
FAUDES_TEST_DUMP("test alt access",gen)
// Validate result
// done
return 0;
}
#define FAUDES_TEST_DUMP(mes, dat) Test protocol record macro ("mangle" filename for platform independance) Definition: cfl_helper.h:483 void AlternativeAccessible(Generator &rGen) Alternative accessibility algorithm. Definition: pex_altaccess.cpp:12 vGenerator Generator Plain generator, api typedef for generator with no attributes. Definition: cfl_generator.h:3240 Includes all libFAUDES headers, incl plugings Definition in file pex_tutorial.cpp. Function Documentation◆ main()
Run the tutorial. Definition at line 19 of file pex_tutorial.cpp. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |