COIN-OR::LEMON - Graph Library

Changeset 392:b8d635e1672d in lemon-0.x


Ignore:
Timestamp:
04/24/04 16:25:03 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@523
Message:

g++-4.0

Location:
src/work
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/work/jacint/preflow_res.h

    r390 r392  
    1616
    1717  template <typename Graph, typename T,
    18             typename CapMap=typename Graph::EdgeMap<T>,
    19             typename FlowMap=typename Graph::EdgeMap<T> >
     18            typename CapMap=typename Graph::template EdgeMap<T>,
     19            typename FlowMap=typename Graph::template EdgeMap<T> >
    2020  class PreflowRes {
    2121   
     
    7070      int b=k;    //bound on the highest level under n of an active node
    7171     
    72       typename Graph::NodeMap<int> level(G,n);     
    73       typename Graph::NodeMap<T> excess(G);
     72      typename Graph::template NodeMap<int> level(G,n);     
     73      typename Graph::template NodeMap<T> excess(G);
    7474
    7575      std::vector<Node> active(n-1,INVALID);
    76       typename Graph::NodeMap<Node> next(G,INVALID);
     76      typename Graph::template NodeMap<Node> next(G,INVALID);
    7777      //Stack of the active nodes in level i < n.
    7878      //We use it in both phases.
    7979
    80       typename Graph::NodeMap<Node> left(G,INVALID);
    81       typename Graph::NodeMap<Node> right(G,INVALID);
     80      typename Graph::template NodeMap<Node> left(G,INVALID);
     81      typename Graph::template NodeMap<Node> right(G,INVALID);
    8282      std::vector<Node> level_list(n,INVALID);
    8383      /*
  • src/work/makefile

    r390 r392  
    66# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
    77# ismert rendszeren :-)  (Misi)
    8 #CXX := $(shell type -p g++-3.4 || type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
    9 CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     8CXX := $(shell type -p g++-3.4 || type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     9#CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
    1010CC := $(CXX)
    1111
Note: See TracChangeset for help on using the changeset viewer.