pex_tutorial.cpp File Reference


More...

#include "libfaudes.h"

Go to the source code of this file.

Functions

int main ()
 Run the tutorial. More...
 

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
// 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_DIFF()
Test protocol diff macro.
Definition: cfl_helper.h:493
#define FAUDES_TEST_DUMP(mes, dat)
Test protocol record macro ("mangle" filename for platform independance)
Definition: cfl_helper.h:483
int main(int argc, char *argv[])
void AlternativeAccessible(Generator &rGen)
Alternative accessibility algorithm.
vGenerator Generator
Plain generator, api typedef for generator with no attributes.
Includes all libFAUDES headers, incl plugings
libFAUDES resides within the namespace faudes.

Definition in file pex_tutorial.cpp.

Function Documentation

◆ main()

int main ( void  )

Run the tutorial.

Definition at line 19 of file pex_tutorial.cpp.

libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen