COIN-OR::LEMON - Graph Library

Changeset 1290:082fc511c2b9 in lemon-0.x


Ignore:
Timestamp:
04/01/05 15:42:31 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1723
Message:

To run graph-displayer with sample input, type make run, but do not move the nodes, YET

Location:
src/work/peter
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/work/peter/Makefile

    r1277 r1290  
    66
    77run: gd
    8         ./gd
     8        ./gd graphocska.lgf
    99
    1010.PHONY: run
  • src/work/peter/graph-displayer.cc

    r1289 r1290  
    280280int main(int argc, char *argv[])
    281281{
     282  if(argc<2)
     283  {
     284      std::cerr << "USAGE: gd <input filename.lgf>" << endl;
     285      return 0;
     286  }
    282287
    283288  Coordinates coosvector;
     
    292297  CoordReaderMap yreader('y',cm);
    293298
    294   std::ifstream is("graphocska.lemon");
     299  std::ifstream is(argv[1]);
    295300
    296301  GraphReader<Graph> reader(is, g);
Note: See TracChangeset for help on using the changeset viewer.