libFAUDES

Sections

Index

pex_tutorial.cpp File Reference


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");

  // done
  return 0;
}



Definition in file pex_tutorial.cpp.

#include "libfaudes.h"

Go to the source code of this file.

Functions

int main ()
 Run the tutorial.


Function Documentation

int main ( void   ) 

Run the tutorial.

Definition at line 19 of file pex_tutorial.cpp.

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