0
15
0
2
7
2
7
1
11
... | ... |
@@ -54,5 +54,4 @@ |
54 | 54 |
///\param g is the digraph, to which we would like to define the |
55 | 55 |
///\ref PredMap. |
56 |
///\todo The digraph alone may be insufficient to initialize |
|
57 | 56 |
static PredMap *createPredMap(const Digraph &g) |
58 | 57 |
{ |
... | ... |
@@ -64,5 +63,4 @@ |
64 | 63 |
///The type of the map that indicates which nodes are processed. |
65 | 64 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
66 |
///By default it is a NullMap. |
|
67 | 65 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
68 | 66 |
///Instantiates a \ref ProcessedMap. |
... | ... |
@@ -196,6 +194,5 @@ |
196 | 194 |
int _curr_dist; |
197 | 195 |
|
198 |
///Creates the maps if necessary. |
|
199 |
///\todo Better memory allocation (instead of new). |
|
196 |
//Creates the maps if necessary. |
|
200 | 197 |
void create_maps() |
201 | 198 |
{ |
... | ... |
@@ -848,5 +845,4 @@ |
848 | 845 |
///\param g is the digraph, to which we would like to define the |
849 | 846 |
///\ref PredMap. |
850 |
///\todo The digraph alone may be insufficient to initialize |
|
851 | 847 |
#ifdef DOXYGEN |
852 | 848 |
static PredMap *createPredMap(const Digraph &g) |
... | ... |
@@ -1333,6 +1329,5 @@ |
1333 | 1329 |
int _list_front, _list_back; |
1334 | 1330 |
|
1335 |
///Creates the maps if necessary. |
|
1336 |
///\todo Better memory allocation (instead of new). |
|
1331 |
//Creates the maps if necessary. |
|
1337 | 1332 |
void create_maps() { |
1338 | 1333 |
if(!_reached) { |
... | ... |
@@ -106,7 +106,4 @@ |
106 | 106 |
/// Returns whether the given directed arc has the same orientation |
107 | 107 |
/// as the corresponding edge. |
108 |
/// |
|
109 |
/// \todo reference to the corresponding point of the undirected digraph |
|
110 |
/// concept. "What does the direction of an edge mean?" |
|
111 | 108 |
static bool direction(const Arc &a) { return a.forward; } |
112 | 109 |
... | ... |
@@ -43,8 +43,7 @@ |
43 | 43 |
/// the map. This map type uses the std::vector to store the values. |
44 | 44 |
/// |
45 |
/// \tparam |
|
45 |
/// \tparam _Graph The graph this map is attached to. |
|
46 | 46 |
/// \tparam _Item The item type of the graph items. |
47 | 47 |
/// \tparam _Value The value type of the map. |
48 |
/// \todo Fix the doc: there is _Graph parameter instead of _Notifier. |
|
49 | 48 |
template <typename _Graph, typename _Item, typename _Value> |
50 | 49 |
class VectorMap |
... | ... |
@@ -55,5 +55,4 @@ |
55 | 55 |
///\param g is the digraph, to which we would like to define the |
56 | 56 |
///\ref PredMap. |
57 |
///\todo The digraph alone may be insufficient to initialize |
|
58 | 57 |
static PredMap *createPredMap(const Digraph &g) |
59 | 58 |
{ |
... | ... |
@@ -65,5 +64,4 @@ |
65 | 64 |
///The type of the map that indicates which nodes are processed. |
66 | 65 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
67 |
///By default it is a NullMap. |
|
68 | 66 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
69 | 67 |
///Instantiates a \ref ProcessedMap. |
... | ... |
@@ -196,6 +194,5 @@ |
196 | 194 |
int _stack_head; |
197 | 195 |
|
198 |
///Creates the maps if necessary. |
|
199 |
///\todo Better memory allocation (instead of new). |
|
196 |
//Creates the maps if necessary. |
|
200 | 197 |
void create_maps() |
201 | 198 |
{ |
... | ... |
@@ -783,5 +780,4 @@ |
783 | 780 |
///\param g is the digraph, to which we would like to define the |
784 | 781 |
///\ref PredMap. |
785 |
///\todo The digraph alone may be insufficient to initialize |
|
786 | 782 |
#ifdef DOXYGEN |
787 | 783 |
static PredMap *createPredMap(const Digraph &g) |
... | ... |
@@ -1280,6 +1276,5 @@ |
1280 | 1276 |
int _stack_head; |
1281 | 1277 |
|
1282 |
///Creates the maps if necessary. |
|
1283 |
///\todo Better memory allocation (instead of new). |
|
1278 |
//Creates the maps if necessary. |
|
1284 | 1279 |
void create_maps() { |
1285 | 1280 |
if(!_reached) { |
... | ... |
@@ -144,5 +144,4 @@ |
144 | 144 |
///\param g is the digraph, to which we would like to define the |
145 | 145 |
///\ref PredMap. |
146 |
///\todo The digraph alone may be insufficient for the initialization |
|
147 | 146 |
static PredMap *createPredMap(const Digraph &g) |
148 | 147 |
{ |
... | ... |
@@ -155,6 +154,4 @@ |
155 | 154 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
156 | 155 |
///By default it is a NullMap. |
157 |
///\todo If it is set to a real map, |
|
158 |
///Dijkstra::processed() should read this. |
|
159 | 156 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
160 | 157 |
///Instantiates a \ref ProcessedMap. |
... | ... |
@@ -297,6 +294,5 @@ |
297 | 294 |
bool local_heap; |
298 | 295 |
|
299 |
///Creates the maps if necessary. |
|
300 |
///\todo Better memory allocation (instead of new). |
|
296 |
//Creates the maps if necessary. |
|
301 | 297 |
void create_maps() |
302 | 298 |
{ |
... | ... |
@@ -958,5 +954,4 @@ |
958 | 954 |
/// \param g is the digraph, to which we would like to define the |
959 | 955 |
/// HeapCrossRef. |
960 |
/// \todo The digraph alone may be insufficient for the initialization |
|
961 | 956 |
static HeapCrossRef *createHeapCrossRef(const Digraph &g) |
962 | 957 |
{ |
... | ... |
@@ -994,5 +989,4 @@ |
994 | 989 |
///\param g is the digraph, to which we would like to define the |
995 | 990 |
///\ref PredMap. |
996 |
///\todo The digraph alone may be insufficient to initialize |
|
997 | 991 |
#ifdef DOXYGEN |
998 | 992 |
static PredMap *createPredMap(const Digraph &g) |
... | ... |
@@ -1009,7 +1003,4 @@ |
1009 | 1003 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
1010 | 1004 |
///By default it is a NullMap. |
1011 |
///\todo If it is set to a real map, |
|
1012 |
///Dijkstra::processed() should read this. |
|
1013 |
///\todo named parameter to set this type, function to read and write. |
|
1014 | 1005 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
1015 | 1006 |
///Instantiates a \ref ProcessedMap. |
... | ... |
@@ -1055,5 +1046,4 @@ |
1055 | 1046 |
/// The \ref DijkstraWizardBase is a class to be the default traits of the |
1056 | 1047 |
/// \ref DijkstraWizard class. |
1057 |
/// \todo More named parameters are required... |
|
1058 | 1048 |
template<class GR,class LM> |
1059 | 1049 |
class DijkstraWizardBase : public DijkstraWizardDefaultTraits<GR,LM> |
... | ... |
@@ -667,5 +667,4 @@ |
667 | 667 |
///it draws the graph. |
668 | 668 |
void run() { |
669 |
//\todo better 'epsilon' would be nice here. |
|
670 | 669 |
const double EPSILON=1e-9; |
671 | 670 |
if(dontPrint) return; |
... | ... |
@@ -708,5 +707,4 @@ |
708 | 707 |
for(ArcIt e(g);e!=INVALID;++e) |
709 | 708 |
max_w=std::max(double(_arcWidths[e]),max_w); |
710 |
//\todo better 'epsilon' would be nice here. |
|
711 | 709 |
if(max_w>EPSILON) { |
712 | 710 |
_arcWidthScale/=max_w; |
... | ... |
@@ -718,5 +716,4 @@ |
718 | 716 |
for(NodeIt n(g);n!=INVALID;++n) |
719 | 717 |
max_s=std::max(double(_nodeSizes[n]),max_s); |
720 |
//\todo better 'epsilon' would be nice here. |
|
721 | 718 |
if(max_s>EPSILON) { |
722 | 719 |
_nodeScale/=max_s; |
... | ... |
@@ -874,5 +871,4 @@ |
874 | 871 |
} |
875 | 872 |
else { |
876 |
//\todo Verify centering |
|
877 | 873 |
double sc= std::min((A4HEIGHT-2*A4BORDER)/bb.width(), |
878 | 874 |
(A4WIDTH-2*A4BORDER)/bb.height()); |
... | ... |
@@ -907,5 +903,4 @@ |
907 | 903 |
dvec(mycoords[g.target(*i)]-mycoords[g.source(*i)]); |
908 | 904 |
double l=std::sqrt(dvec.normSquare()); |
909 |
//\todo better 'epsilon' would be nice here. |
|
910 | 905 |
dim2::Point<double> d(dvec/std::max(l,EPSILON)); |
911 | 906 |
dim2::Point<double> m; |
... | ... |
@@ -502,8 +502,6 @@ |
502 | 502 |
///be invalidated. |
503 | 503 |
/// |
504 |
///\warning This functionality cannot be used |
|
504 |
///\warning This functionality cannot be used in conjunction with the |
|
505 | 505 |
///Snapshot feature. |
506 |
/// |
|
507 |
///\todo It could be implemented in a bit faster way. |
|
508 | 506 |
Node split(Node n, bool connect = true) { |
509 | 507 |
Node b = addNode(); |
... | ... |
@@ -485,6 +485,4 @@ |
485 | 485 |
/// |
486 | 486 |
/// \sa CombineMap |
487 |
/// |
|
488 |
/// \todo Check the requirements. |
|
489 | 487 |
template <typename M1, typename M2> |
490 | 488 |
class ComposeMap : public MapBase<typename M2::Key, typename M1::Value> { |
... | ... |
@@ -541,6 +539,4 @@ |
541 | 539 |
/// |
542 | 540 |
/// \sa ComposeMap |
543 |
/// |
|
544 |
/// \todo Check the requirements. |
|
545 | 541 |
template<typename M1, typename M2, typename F, |
546 | 542 |
typename V = typename F::result_type> |
... | ... |
@@ -293,5 +293,4 @@ |
293 | 293 |
///function, consider the usage of \ref TimeReport instead. |
294 | 294 |
/// |
295 |
///\todo This shouldn't be Unix (Linux) specific. |
|
296 | 295 |
///\sa TimeReport |
297 | 296 |
class Timer |
... | ... |
@@ -488,5 +487,4 @@ |
488 | 487 |
///\sa Timer |
489 | 488 |
///\sa NoTimeReport |
490 |
///\todo There is no test case for this |
|
491 | 489 |
class TimeReport : public Timer |
492 | 490 |
{ |
0 comments (0 inline)