Changeset 209:765619b7cbb2 in lemon for demo/lgf_demo.cc
- Timestamp:
- 07/13/08 20:51:02 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/lgf_demo.cc
r193 r209 1 /* -*- C++-*-1 /* -*- mode: C++; indent-tabs-mode: nil; -*- 2 2 * 3 * This file is a part of LEMON, a generic C++ optimization library 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 5 * Copyright (C) 2003-2008 … … 22 22 /// 23 23 /// This program gives an example of how to read and write a digraph 24 /// and additional maps from/to a stream or a file using the 24 /// and additional maps from/to a stream or a file using the 25 25 /// \ref lgf-format "LGF" format. 26 26 /// … … 43 43 SmartDigraph::ArcMap<int> cap(g); 44 44 SmartDigraph::Node s, t; 45 45 46 46 try { 47 47 digraphReader("digraph.lgf", g). // read the directed graph into g
Note: See TracChangeset
for help on using the changeset viewer.