COIN-OR::LEMON - Graph Library

Changeset 708:429dfcbbf47d in lemon-0.x


Ignore:
Timestamp:
07/19/04 15:31:47 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@960
Message:

A new benchmark (hcube)
and other minor changes

Location:
src/benchmark
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/Makefile.am

    r704 r708  
    1 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/work
     1AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/work  -I$(top_srcdir)/src/work/marci
    22
    3 noinst_PROGRAMS = graph-bench
     3noinst_PROGRAMS = graph-bench hcube
    44
    55graph_bench_SOURCES = graph-bench.cc
     6
     7hcube_SOURCES = hcube.cc
  • src/benchmark/graph-bench.cc

    r699 r708  
    44#include<iostream>
    55#include<sage_graph.h>
     6#include<vector>
    67
    78using namespace hugo;
     
    4950  Graph G;
    5051 
    51   Node nodes[n];
     52  //  Node nodes[n];
     53  std::vector<Node> nodes(n);
    5254  for(int i=0;i<n;i++) nodes[i]=G.addNode();
    5355 
    54   Edge equ[rat];
     56  //Edge equ[rat];
     57  std::vector<Edge> equ(rat);
    5558 
    5659  unsigned long long int count;
Note: See TracChangeset for help on using the changeset viewer.