Changeset 427:c59bdcc8e33e in lemon-1.0 for lemon
- Timestamp:
- 08/05/11 00:17:29 (13 years ago)
- Branch:
- 1.0
- Phase:
- public
- Tags:
- r1.0.7
- Location:
- lemon
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/base.cc
r357 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/bits/default_map.h
r395 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/bits/map_extender.h
r406 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/bits/path_dump.h
r414 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/bits/windows.cc
r370 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 97 97 GetSystemTime(&time); 98 98 char buf1[11], buf2[9], buf3[5]; 99 99 if (GetDateFormat(MY_LOCALE, 0, &time, 100 100 ("ddd MMM dd"), buf1, 11) && 101 101 GetTimeFormat(MY_LOCALE, 0, &time, -
lemon/core.h
r416 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/dfs.h
r421 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/graph_to_eps.h
r409 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/lgf_reader.h
r423 r427 392 392 393 393 template <typename Digraph> 394 DigraphReader<Digraph> digraphReader(Digraph& digraph, 394 DigraphReader<Digraph> digraphReader(Digraph& digraph, 395 395 std::istream& is = std::cin); 396 396 template <typename Digraph> … … 564 564 friend DigraphReader<DGR> digraphReader(DGR& digraph, std::istream& is); 565 565 template <typename DGR> 566 friend DigraphReader<DGR> digraphReader(DGR& digraph, 566 friend DigraphReader<DGR> digraphReader(DGR& digraph, 567 567 const std::string& fn); 568 568 template <typename DGR> … … 1230 1230 template <typename Graph> 1231 1231 class GraphReader; 1232 1232 1233 1233 template <typename Graph> 1234 GraphReader<Graph> graphReader(Graph& graph, 1234 GraphReader<Graph> graphReader(Graph& graph, 1235 1235 std::istream& is = std::cin); 1236 1236 template <typename Graph> … … 1367 1367 friend GraphReader<GR> graphReader(GR& graph, std::istream& is); 1368 1368 template <typename GR> 1369 friend GraphReader<GR> graphReader(GR& graph, const std::string& fn); 1369 friend GraphReader<GR> graphReader(GR& graph, const std::string& fn); 1370 1370 template <typename GR> 1371 1371 friend GraphReader<GR> graphReader(GR& graph, const char *fn); -
lemon/lgf_writer.h
r374 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 507 507 508 508 template <typename DGR> 509 friend DigraphWriter<DGR> digraphWriter(const DGR& digraph, 509 friend DigraphWriter<DGR> digraphWriter(const DGR& digraph, 510 510 std::ostream& os); 511 511 template <typename DGR> … … 1083 1083 friend GraphWriter<GR> graphWriter(const GR& graph, 1084 1084 const char *fn); 1085 1085 1086 1086 GraphWriter(GraphWriter& other) 1087 1087 : _os(other._os), local_os(other.local_os), _graph(other._graph), -
lemon/list_graph.h
r317 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 841 841 842 842 public: 843 operator Edge() const { 844 return id != -1 ? edgeFromId(id / 2) : INVALID; 843 operator Edge() const { 844 return id != -1 ? edgeFromId(id / 2) : INVALID; 845 845 } 846 846 -
lemon/path.h
r404 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 967 967 }; 968 968 969 969 970 970 template <typename From, typename To, 971 971 bool revEnable = RevPathTagIndicator<From>::value> … … 973 973 static void copy(const From& from, To& to) { 974 974 PathCopySelectorForward<From, To>::copy(from, to); 975 } 975 } 976 976 }; 977 977 … … 980 980 static void copy(const From& from, To& to) { 981 981 PathCopySelectorBackward<From, To>::copy(from, to); 982 } 982 } 983 983 }; 984 984 -
lemon/random.h
r374 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/smart_graph.h
r337 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 467 467 468 468 public: 469 operator Edge() const { 470 return _id != -1 ? edgeFromId(_id / 2) : INVALID; 469 operator Edge() const { 470 return _id != -1 ? edgeFromId(_id / 2) : INVALID; 471 471 } 472 472 -
lemon/time_measure.h
r383 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/tolerance.h
r373 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). -
lemon/unionfind.h
r408 r427 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 085 * Copyright (C) 2003-2011 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 1190 1190 popLeft(nodes[jd].next); 1191 1191 pushRight(jd, ld); 1192 if (less(ld, nodes[jd].left) || 1192 if (less(ld, nodes[jd].left) || 1193 1193 nodes[ld].item == nodes[pd].item) { 1194 1194 nodes[jd].item = nodes[ld].item;
Note: See TracChangeset
for help on using the changeset viewer.