COIN-OR::LEMON - Graph Library

Changeset 320:190ecba15b33 in lemon-0.x for src


Ignore:
Timestamp:
04/14/04 13:48:46 (21 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@438
Message:

constructor az elejere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/skeletons/graph.h

    r298 r320  
    3232  {
    3333  public:
    34    
     34    /// Defalult constructor.
     35    GraphSkeleton() {}
     36    ///Copy consructor.
     37    GraphSkeleton(const GraphSkeleton &G) {}
     38
    3539    /// The base type of the node iterators.
    3640
     
    220224    ///\todo Maybe, it would be better if iterator converted to
    221225    ///bool directly, as Jacint prefers.
    222     bool valid(const Node) const { return true;}
     226    bool valid(const Node&) const { return true;}
    223227    /// Checks if an edge iterator is valid
    224228
    225229    ///\todo Maybe, it would be better if iterator converted to
    226230    ///bool directly, as Jacint prefers.
    227     bool valid(const Edge) const { return true;}
     231    bool valid(const Edge&) const { return true;}
    228232
    229233    ///Gives back the \e id of a node.
     
    231235    ///\warning Not all graph structures provide this feature.
    232236    ///
    233     int id(const Node) const { return 0;}
     237    int id(const Node&) const { return 0;}
    234238    ///Gives back the \e id of an edge.
    235239
    236240    ///\warning Not all graph structures provide this feature.
    237241    ///
    238     int id(const Edge) const { return 0;}
     242    int id(const Edge&) const { return 0;}
    239243
    240244    //void setInvalid(Node &) const {};
     
    261265    int nodeNum() const { return 0;}
    262266    int edgeNum() const { return 0;}
    263  
    264     /// Defalult constructor.
    265     GraphSkeleton() {}
    266     ///Copy consructor.
    267     GraphSkeleton(const GraphSkeleton &G) {}
    268  
    269  
    270267
    271268    ///Read/write/reference map of the nodes to type \c T.
Note: See TracChangeset for help on using the changeset viewer.