Adding doc
authordeba
Tue, 09 Oct 2007 17:13:17 +0000
changeset 2492387f6ff851ef
parent 2491 b63ae56979ef
child 2493 6231d9d3957b
Adding doc
demo/arg_parser_demo.cc
demo/mip_demo.cc
demo/steiner_demo.cc
     1.1 --- a/demo/arg_parser_demo.cc	Tue Oct 09 17:11:42 2007 +0000
     1.2 +++ b/demo/arg_parser_demo.cc	Tue Oct 09 17:13:17 2007 +0000
     1.3 @@ -16,6 +16,14 @@
     1.4   *
     1.5   */
     1.6  
     1.7 +///\ingroup demos
     1.8 +///\file
     1.9 +///\brief Argument parser demo
    1.10 +///
    1.11 +/// This example shows how can the argument parser used.
    1.12 +///
    1.13 +/// \include arg_parser.cc
    1.14 +
    1.15  #include <lemon/arg_parser.h>
    1.16  
    1.17  using namespace lemon;
     2.1 --- a/demo/mip_demo.cc	Tue Oct 09 17:11:42 2007 +0000
     2.2 +++ b/demo/mip_demo.cc	Tue Oct 09 17:13:17 2007 +0000
     2.3 @@ -16,15 +16,22 @@
     2.4   *
     2.5   */
     2.6  
     2.7 +
     2.8 +///\ingroup demos
     2.9 +///\file
    2.10 +///\brief Mixed integer program solver demo
    2.11 +///
    2.12 +/// This example shows how can we solve an integer program with lemon
    2.13 +/// \c Mip interface and with default solver.
    2.14 +///
    2.15 +/// \include mip_demo.cc
    2.16 +
    2.17  #include <lemon/lp.h>
    2.18 -//#include <lemon/ilp_glpk.h>
    2.19  
    2.20  using namespace lemon;
    2.21  
    2.22  int main(){
    2.23  
    2.24 -  //MipGlpk ilp;
    2.25 -
    2.26     Mip ilp;
    2.27  
    2.28  
     3.1 --- a/demo/steiner_demo.cc	Tue Oct 09 17:11:42 2007 +0000
     3.2 +++ b/demo/steiner_demo.cc	Tue Oct 09 17:13:17 2007 +0000
     3.3 @@ -16,6 +16,14 @@
     3.4   *
     3.5   */
     3.6  
     3.7 +///\ingroup demos
     3.8 +///\file
     3.9 +///\brief Calculating an approximate Steiner-tree.
    3.10 +///
    3.11 +/// Calculating an approximate Steiner-tree.
    3.12 +///
    3.13 +/// \include steiner_demo.cc
    3.14 +
    3.15  #include <lemon/smart_graph.h>
    3.16  #include <lemon/kruskal.h>
    3.17  #include <lemon/graph_reader.h>