Changeset 1494:ae55ba000ebb in lemon-0.x
- Timestamp:
- 06/15/05 12:19:44 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1975
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/edit_win.cc
r1485 r1494 19 19 20 20 //buttons array 21 buttons=new (Gtk::RadioButton *)[TOOL_NUM];21 buttons=new Gtk::RadioButton * [TOOL_NUM]; 22 22 for(int i=0;i<TOOL_NUM;i++) 23 23 { -
lemon/concept/graph_component.h
r1435 r1494 409 409 typename _Graph::Node node_a, node_b; 410 410 node_a = graph.addNode(); 411 node_b = graph.addNode(); 411 412 typename _Graph::Edge edge; 412 413 edge = graph.addEdge(node_a, node_b); … … 928 929 typename _Graph::Node node_a, node_b; 929 930 node_a = graph.addNode(); 931 node_b = graph.addNode(); 930 932 typename _Graph::Edge edge; 931 933 edge = graph.addEdge(node_a, node_b); -
lemon/concept/heap.h
r1435 r1494 156 156 Prio prio; 157 157 158 item=Item(); 159 prio=Prio(); 160 158 161 ignore_unused_variable_warning(item); 159 162 ignore_unused_variable_warning(prio); -
lemon/graph_to_eps.h
r1470 r1494 331 331 typedef typename Graph::OutEdgeIt OutEdgeIt; 332 332 333 static const int INTERPOL_PREC =20;334 static const double A4HEIGHT = 841.8897637795276;335 static const double A4WIDTH = 595.275590551181;336 static const double A4BORDER = 15;333 static const int INTERPOL_PREC; 334 static const double A4HEIGHT; 335 static const double A4WIDTH; 336 static const double A4BORDER; 337 337 338 338 bool dontPrint; … … 706 706 os << "%%CreationDate: " << cbuf; 707 707 } 708 ///\todo: Chech whether the graph is empty.709 708 BoundingBox<double> bb; 709 ///\bug: Chech whether the graph is empty. 710 if(NodeIt(g)==INVALID) bb+=xy<double>(0,0); 710 711 for(NodeIt n(g);n!=INVALID;++n) { 711 712 double ns=_nodeSizes[n]*_nodeScale; … … 976 977 }; 977 978 979 template<class T> 980 const int GraphToEps<T>::INTERPOL_PREC = 20; 981 template<class T> 982 const double GraphToEps<T>::A4HEIGHT = 841.8897637795276; 983 template<class T> 984 const double GraphToEps<T>::A4WIDTH = 595.275590551181; 985 template<class T> 986 const double GraphToEps<T>::A4BORDER = 15; 987 978 988 979 989 ///Generates an EPS file from a graph -
lemon/lemon_reader.h
r1492 r1494 311 311 } 312 312 313 virtual ~SectionReader() {} 314 313 315 /// \brief Gives back true when the SectionReader can process 314 316 /// the section with the given header line. … … 572 574 public: 573 575 typedef _Item Item; 576 virtual ~IdReaderBase() {} 574 577 virtual Item read(std::istream& is) const = 0; 575 578 virtual bool isIdReader() const = 0; … … 601 604 public: 602 605 virtual void read(std::istream&) {}; 606 virtual ~ValueReaderBase() {} 603 607 }; 604 608 -
lemon/lemon_writer.h
r1492 r1494 132 132 writer.attach(*this); 133 133 } 134 135 virtual ~SectionWriter() {} 134 136 135 137 /// \brief The header of section. … … 251 253 class ValueWriterBase { 252 254 public: 255 virtual ~ValueWriterBase() {} 253 256 virtual void write(std::ostream&) = 0; 254 257 }; … … 276 279 public: 277 280 typedef _Item Item; 281 virtual ~IdWriterBase() {} 278 282 virtual void write(std::ostream&, const Item&) const = 0; 279 283 virtual bool isIdWriter() const = 0; -
test/max_matching_test.cc
r1435 r1494 19 19 #include <vector> 20 20 #include <queue> 21 #include < math.h>21 #include <cmath> 22 22 #include <cstdlib> 23 23
Note: See TracChangeset
for help on using the changeset viewer.