0
4
0
| ... | ... |
@@ -49,11 +49,11 @@ |
| 49 | 49 |
///arcs of the shortest paths. |
| 50 | 50 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 51 | 51 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 52 |
///Instantiates a |
|
| 52 |
///Instantiates a PredMap. |
|
| 53 | 53 |
|
| 54 |
///This function instantiates a |
|
| 54 |
///This function instantiates a PredMap. |
|
| 55 | 55 |
///\param g is the digraph, to which we would like to define the |
| 56 |
/// |
|
| 56 |
///PredMap. |
|
| 57 | 57 |
static PredMap *createPredMap(const Digraph &g) |
| 58 | 58 |
{
|
| 59 | 59 |
return new PredMap(g); |
| ... | ... |
@@ -64,11 +64,11 @@ |
| 64 | 64 |
///The type of the map that indicates which nodes are processed. |
| 65 | 65 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 66 | 66 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 67 |
///Instantiates a |
|
| 67 |
///Instantiates a ProcessedMap. |
|
| 68 | 68 |
|
| 69 |
///This function instantiates a |
|
| 69 |
///This function instantiates a ProcessedMap. |
|
| 70 | 70 |
///\param g is the digraph, to which |
| 71 |
///we would like to define the |
|
| 71 |
///we would like to define the ProcessedMap |
|
| 72 | 72 |
#ifdef DOXYGEN |
| 73 | 73 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 74 | 74 |
#else |
| ... | ... |
@@ -83,11 +83,11 @@ |
| 83 | 83 |
///The type of the map that indicates which nodes are reached. |
| 84 | 84 |
///It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 85 | 85 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 86 |
///Instantiates a |
|
| 86 |
///Instantiates a ReachedMap. |
|
| 87 | 87 |
|
| 88 |
///This function instantiates a |
|
| 88 |
///This function instantiates a ReachedMap. |
|
| 89 | 89 |
///\param g is the digraph, to which |
| 90 |
///we would like to define the |
|
| 90 |
///we would like to define the ReachedMap. |
|
| 91 | 91 |
static ReachedMap *createReachedMap(const Digraph &g) |
| 92 | 92 |
{
|
| 93 | 93 |
return new ReachedMap(g); |
| ... | ... |
@@ -98,11 +98,11 @@ |
| 98 | 98 |
///The type of the map that stores the distances of the nodes. |
| 99 | 99 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 100 | 100 |
typedef typename Digraph::template NodeMap<int> DistMap; |
| 101 |
///Instantiates a |
|
| 101 |
///Instantiates a DistMap. |
|
| 102 | 102 |
|
| 103 |
///This function instantiates a |
|
| 103 |
///This function instantiates a DistMap. |
|
| 104 | 104 |
///\param g is the digraph, to which we would like to define the |
| 105 |
/// |
|
| 105 |
///DistMap. |
|
| 106 | 106 |
static DistMap *createDistMap(const Digraph &g) |
| 107 | 107 |
{
|
| 108 | 108 |
return new DistMap(g); |
| ... | ... |
@@ -227,10 +227,10 @@ |
| 227 | 227 |
} |
| 228 | 228 |
}; |
| 229 | 229 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 230 |
/// |
|
| 230 |
///PredMap type. |
|
| 231 | 231 |
/// |
| 232 | 232 |
///\ref named-templ-param "Named parameter" for setting |
| 233 |
/// |
|
| 233 |
///PredMap type. |
|
| 234 | 234 |
template <class T> |
| 235 | 235 |
struct SetPredMap : public Bfs< Digraph, SetPredMapTraits<T> > {
|
| 236 | 236 |
typedef Bfs< Digraph, SetPredMapTraits<T> > Create; |
| ... | ... |
@@ -246,10 +246,10 @@ |
| 246 | 246 |
} |
| 247 | 247 |
}; |
| 248 | 248 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 249 |
/// |
|
| 249 |
///DistMap type. |
|
| 250 | 250 |
/// |
| 251 | 251 |
///\ref named-templ-param "Named parameter" for setting |
| 252 |
/// |
|
| 252 |
///DistMap type. |
|
| 253 | 253 |
template <class T> |
| 254 | 254 |
struct SetDistMap : public Bfs< Digraph, SetDistMapTraits<T> > {
|
| 255 | 255 |
typedef Bfs< Digraph, SetDistMapTraits<T> > Create; |
| ... | ... |
@@ -265,10 +265,10 @@ |
| 265 | 265 |
} |
| 266 | 266 |
}; |
| 267 | 267 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 268 |
/// |
|
| 268 |
///ReachedMap type. |
|
| 269 | 269 |
/// |
| 270 | 270 |
///\ref named-templ-param "Named parameter" for setting |
| 271 |
/// |
|
| 271 |
///ReachedMap type. |
|
| 272 | 272 |
template <class T> |
| 273 | 273 |
struct SetReachedMap : public Bfs< Digraph, SetReachedMapTraits<T> > {
|
| 274 | 274 |
typedef Bfs< Digraph, SetReachedMapTraits<T> > Create; |
| ... | ... |
@@ -284,10 +284,10 @@ |
| 284 | 284 |
} |
| 285 | 285 |
}; |
| 286 | 286 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 287 |
/// |
|
| 287 |
///ProcessedMap type. |
|
| 288 | 288 |
/// |
| 289 | 289 |
///\ref named-templ-param "Named parameter" for setting |
| 290 |
/// |
|
| 290 |
///ProcessedMap type. |
|
| 291 | 291 |
template <class T> |
| 292 | 292 |
struct SetProcessedMap : public Bfs< Digraph, SetProcessedMapTraits<T> > {
|
| 293 | 293 |
typedef Bfs< Digraph, SetProcessedMapTraits<T> > Create; |
| ... | ... |
@@ -302,10 +302,10 @@ |
| 302 | 302 |
} |
| 303 | 303 |
}; |
| 304 | 304 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 305 |
/// |
|
| 305 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 306 | 306 |
/// |
| 307 | 307 |
///\ref named-templ-param "Named parameter" for setting |
| 308 |
/// |
|
| 308 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 309 | 309 |
///If you don't set it explicitly, it will be automatically allocated. |
| 310 | 310 |
struct SetStandardProcessedMap : |
| 311 | 311 |
public Bfs< Digraph, SetStandardProcessedMapTraits > {
|
| ... | ... |
@@ -835,11 +835,11 @@ |
| 835 | 835 |
///arcs of the shortest paths. |
| 836 | 836 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 837 | 837 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 838 |
///Instantiates a |
|
| 838 |
///Instantiates a PredMap. |
|
| 839 | 839 |
|
| 840 |
///This function instantiates a |
|
| 840 |
///This function instantiates a PredMap. |
|
| 841 | 841 |
///\param g is the digraph, to which we would like to define the |
| 842 |
/// |
|
| 842 |
///PredMap. |
|
| 843 | 843 |
static PredMap *createPredMap(const Digraph &g) |
| 844 | 844 |
{
|
| 845 | 845 |
return new PredMap(g); |
| ... | ... |
@@ -851,11 +851,11 @@ |
| 851 | 851 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 852 | 852 |
///By default it is a NullMap. |
| 853 | 853 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 854 |
///Instantiates a |
|
| 854 |
///Instantiates a ProcessedMap. |
|
| 855 | 855 |
|
| 856 |
///This function instantiates a |
|
| 856 |
///This function instantiates a ProcessedMap. |
|
| 857 | 857 |
///\param g is the digraph, to which |
| 858 |
///we would like to define the |
|
| 858 |
///we would like to define the ProcessedMap. |
|
| 859 | 859 |
#ifdef DOXYGEN |
| 860 | 860 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 861 | 861 |
#else |
| ... | ... |
@@ -870,11 +870,11 @@ |
| 870 | 870 |
///The type of the map that indicates which nodes are reached. |
| 871 | 871 |
///It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 872 | 872 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 873 |
///Instantiates a |
|
| 873 |
///Instantiates a ReachedMap. |
|
| 874 | 874 |
|
| 875 |
///This function instantiates a |
|
| 875 |
///This function instantiates a ReachedMap. |
|
| 876 | 876 |
///\param g is the digraph, to which |
| 877 |
///we would like to define the |
|
| 877 |
///we would like to define the ReachedMap. |
|
| 878 | 878 |
static ReachedMap *createReachedMap(const Digraph &g) |
| 879 | 879 |
{
|
| 880 | 880 |
return new ReachedMap(g); |
| ... | ... |
@@ -885,11 +885,11 @@ |
| 885 | 885 |
///The type of the map that stores the distances of the nodes. |
| 886 | 886 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 887 | 887 |
typedef typename Digraph::template NodeMap<int> DistMap; |
| 888 |
///Instantiates a |
|
| 888 |
///Instantiates a DistMap. |
|
| 889 | 889 |
|
| 890 |
///This function instantiates a |
|
| 890 |
///This function instantiates a DistMap. |
|
| 891 | 891 |
///\param g is the digraph, to which we would like to define |
| 892 |
///the |
|
| 892 |
///the DistMap |
|
| 893 | 893 |
static DistMap *createDistMap(const Digraph &g) |
| 894 | 894 |
{
|
| 895 | 895 |
return new DistMap(g); |
| ... | ... |
@@ -902,7 +902,7 @@ |
| 902 | 902 |
typedef lemon::Path<Digraph> Path; |
| 903 | 903 |
}; |
| 904 | 904 |
|
| 905 |
/// Default traits class used by |
|
| 905 |
/// Default traits class used by BfsWizard |
|
| 906 | 906 |
|
| 907 | 907 |
/// To make it easier to use Bfs algorithm |
| 908 | 908 |
/// we have created a wizard class. |
| ... | ... |
@@ -1068,10 +1068,10 @@ |
| 1068 | 1068 |
SetPredMapBase(const TR &b) : TR(b) {}
|
| 1069 | 1069 |
}; |
| 1070 | 1070 |
///\brief \ref named-func-param "Named parameter" |
| 1071 |
///for setting |
|
| 1071 |
///for setting PredMap object. |
|
| 1072 | 1072 |
/// |
| 1073 | 1073 |
///\ref named-func-param "Named parameter" |
| 1074 |
///for setting |
|
| 1074 |
///for setting PredMap object. |
|
| 1075 | 1075 |
template<class T> |
| 1076 | 1076 |
BfsWizard<SetPredMapBase<T> > predMap(const T &t) |
| 1077 | 1077 |
{
|
| ... | ... |
@@ -1086,10 +1086,10 @@ |
| 1086 | 1086 |
SetReachedMapBase(const TR &b) : TR(b) {}
|
| 1087 | 1087 |
}; |
| 1088 | 1088 |
///\brief \ref named-func-param "Named parameter" |
| 1089 |
///for setting |
|
| 1089 |
///for setting ReachedMap object. |
|
| 1090 | 1090 |
/// |
| 1091 | 1091 |
/// \ref named-func-param "Named parameter" |
| 1092 |
///for setting |
|
| 1092 |
///for setting ReachedMap object. |
|
| 1093 | 1093 |
template<class T> |
| 1094 | 1094 |
BfsWizard<SetReachedMapBase<T> > reachedMap(const T &t) |
| 1095 | 1095 |
{
|
| ... | ... |
@@ -1104,10 +1104,10 @@ |
| 1104 | 1104 |
SetDistMapBase(const TR &b) : TR(b) {}
|
| 1105 | 1105 |
}; |
| 1106 | 1106 |
///\brief \ref named-func-param "Named parameter" |
| 1107 |
///for setting |
|
| 1107 |
///for setting DistMap object. |
|
| 1108 | 1108 |
/// |
| 1109 | 1109 |
/// \ref named-func-param "Named parameter" |
| 1110 |
///for setting |
|
| 1110 |
///for setting DistMap object. |
|
| 1111 | 1111 |
template<class T> |
| 1112 | 1112 |
BfsWizard<SetDistMapBase<T> > distMap(const T &t) |
| 1113 | 1113 |
{
|
| ... | ... |
@@ -1122,10 +1122,10 @@ |
| 1122 | 1122 |
SetProcessedMapBase(const TR &b) : TR(b) {}
|
| 1123 | 1123 |
}; |
| 1124 | 1124 |
///\brief \ref named-func-param "Named parameter" |
| 1125 |
///for setting |
|
| 1125 |
///for setting ProcessedMap object. |
|
| 1126 | 1126 |
/// |
| 1127 | 1127 |
/// \ref named-func-param "Named parameter" |
| 1128 |
///for setting |
|
| 1128 |
///for setting ProcessedMap object. |
|
| 1129 | 1129 |
template<class T> |
| 1130 | 1130 |
BfsWizard<SetProcessedMapBase<T> > processedMap(const T &t) |
| 1131 | 1131 |
{
|
| ... | ... |
@@ -1267,11 +1267,11 @@ |
| 1267 | 1267 |
/// It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 1268 | 1268 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 1269 | 1269 |
|
| 1270 |
/// \brief Instantiates a |
|
| 1270 |
/// \brief Instantiates a ReachedMap. |
|
| 1271 | 1271 |
/// |
| 1272 |
/// This function instantiates a |
|
| 1272 |
/// This function instantiates a ReachedMap. |
|
| 1273 | 1273 |
/// \param digraph is the digraph, to which |
| 1274 |
/// we would like to define the |
|
| 1274 |
/// we would like to define the ReachedMap. |
|
| 1275 | 1275 |
static ReachedMap *createReachedMap(const Digraph &digraph) {
|
| 1276 | 1276 |
return new ReachedMap(digraph); |
| 1277 | 1277 |
} |
| ... | ... |
@@ -50,11 +50,11 @@ |
| 50 | 50 |
///arcs of the %DFS paths. |
| 51 | 51 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 52 | 52 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 53 |
///Instantiates a |
|
| 53 |
///Instantiates a PredMap. |
|
| 54 | 54 |
|
| 55 |
///This function instantiates a |
|
| 55 |
///This function instantiates a PredMap. |
|
| 56 | 56 |
///\param g is the digraph, to which we would like to define the |
| 57 |
/// |
|
| 57 |
///PredMap. |
|
| 58 | 58 |
static PredMap *createPredMap(const Digraph &g) |
| 59 | 59 |
{
|
| 60 | 60 |
return new PredMap(g); |
| ... | ... |
@@ -65,11 +65,11 @@ |
| 65 | 65 |
///The type of the map that indicates which nodes are processed. |
| 66 | 66 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 67 | 67 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 68 |
///Instantiates a |
|
| 68 |
///Instantiates a ProcessedMap. |
|
| 69 | 69 |
|
| 70 |
///This function instantiates a |
|
| 70 |
///This function instantiates a ProcessedMap. |
|
| 71 | 71 |
///\param g is the digraph, to which |
| 72 |
///we would like to define the |
|
| 72 |
///we would like to define the ProcessedMap |
|
| 73 | 73 |
#ifdef DOXYGEN |
| 74 | 74 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 75 | 75 |
#else |
| ... | ... |
@@ -84,11 +84,11 @@ |
| 84 | 84 |
///The type of the map that indicates which nodes are reached. |
| 85 | 85 |
///It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 86 | 86 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 87 |
///Instantiates a |
|
| 87 |
///Instantiates a ReachedMap. |
|
| 88 | 88 |
|
| 89 |
///This function instantiates a |
|
| 89 |
///This function instantiates a ReachedMap. |
|
| 90 | 90 |
///\param g is the digraph, to which |
| 91 |
///we would like to define the |
|
| 91 |
///we would like to define the ReachedMap. |
|
| 92 | 92 |
static ReachedMap *createReachedMap(const Digraph &g) |
| 93 | 93 |
{
|
| 94 | 94 |
return new ReachedMap(g); |
| ... | ... |
@@ -99,11 +99,11 @@ |
| 99 | 99 |
///The type of the map that stores the distances of the nodes. |
| 100 | 100 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 101 | 101 |
typedef typename Digraph::template NodeMap<int> DistMap; |
| 102 |
///Instantiates a |
|
| 102 |
///Instantiates a DistMap. |
|
| 103 | 103 |
|
| 104 |
///This function instantiates a |
|
| 104 |
///This function instantiates a DistMap. |
|
| 105 | 105 |
///\param g is the digraph, to which we would like to define the |
| 106 |
/// |
|
| 106 |
///DistMap. |
|
| 107 | 107 |
static DistMap *createDistMap(const Digraph &g) |
| 108 | 108 |
{
|
| 109 | 109 |
return new DistMap(g); |
| ... | ... |
@@ -227,10 +227,10 @@ |
| 227 | 227 |
} |
| 228 | 228 |
}; |
| 229 | 229 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 230 |
/// |
|
| 230 |
///PredMap type. |
|
| 231 | 231 |
/// |
| 232 | 232 |
///\ref named-templ-param "Named parameter" for setting |
| 233 |
/// |
|
| 233 |
///PredMap type. |
|
| 234 | 234 |
template <class T> |
| 235 | 235 |
struct SetPredMap : public Dfs<Digraph, SetPredMapTraits<T> > {
|
| 236 | 236 |
typedef Dfs<Digraph, SetPredMapTraits<T> > Create; |
| ... | ... |
@@ -246,10 +246,10 @@ |
| 246 | 246 |
} |
| 247 | 247 |
}; |
| 248 | 248 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 249 |
/// |
|
| 249 |
///DistMap type. |
|
| 250 | 250 |
/// |
| 251 | 251 |
///\ref named-templ-param "Named parameter" for setting |
| 252 |
/// |
|
| 252 |
///DistMap type. |
|
| 253 | 253 |
template <class T> |
| 254 | 254 |
struct SetDistMap : public Dfs< Digraph, SetDistMapTraits<T> > {
|
| 255 | 255 |
typedef Dfs<Digraph, SetDistMapTraits<T> > Create; |
| ... | ... |
@@ -265,10 +265,10 @@ |
| 265 | 265 |
} |
| 266 | 266 |
}; |
| 267 | 267 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 268 |
/// |
|
| 268 |
///ReachedMap type. |
|
| 269 | 269 |
/// |
| 270 | 270 |
///\ref named-templ-param "Named parameter" for setting |
| 271 |
/// |
|
| 271 |
///ReachedMap type. |
|
| 272 | 272 |
template <class T> |
| 273 | 273 |
struct SetReachedMap : public Dfs< Digraph, SetReachedMapTraits<T> > {
|
| 274 | 274 |
typedef Dfs< Digraph, SetReachedMapTraits<T> > Create; |
| ... | ... |
@@ -284,10 +284,10 @@ |
| 284 | 284 |
} |
| 285 | 285 |
}; |
| 286 | 286 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 287 |
/// |
|
| 287 |
///ProcessedMap type. |
|
| 288 | 288 |
/// |
| 289 | 289 |
///\ref named-templ-param "Named parameter" for setting |
| 290 |
/// |
|
| 290 |
///ProcessedMap type. |
|
| 291 | 291 |
template <class T> |
| 292 | 292 |
struct SetProcessedMap : public Dfs< Digraph, SetProcessedMapTraits<T> > {
|
| 293 | 293 |
typedef Dfs< Digraph, SetProcessedMapTraits<T> > Create; |
| ... | ... |
@@ -301,10 +301,10 @@ |
| 301 | 301 |
} |
| 302 | 302 |
}; |
| 303 | 303 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 304 |
/// |
|
| 304 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 305 | 305 |
/// |
| 306 | 306 |
///\ref named-templ-param "Named parameter" for setting |
| 307 |
/// |
|
| 307 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 308 | 308 |
///If you don't set it explicitly, it will be automatically allocated. |
| 309 | 309 |
struct SetStandardProcessedMap : |
| 310 | 310 |
public Dfs< Digraph, SetStandardProcessedMapTraits > {
|
| ... | ... |
@@ -768,11 +768,11 @@ |
| 768 | 768 |
///arcs of the %DFS paths. |
| 769 | 769 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 770 | 770 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 771 |
///Instantiates a |
|
| 771 |
///Instantiates a PredMap. |
|
| 772 | 772 |
|
| 773 |
///This function instantiates a |
|
| 773 |
///This function instantiates a PredMap. |
|
| 774 | 774 |
///\param g is the digraph, to which we would like to define the |
| 775 |
/// |
|
| 775 |
///PredMap. |
|
| 776 | 776 |
static PredMap *createPredMap(const Digraph &g) |
| 777 | 777 |
{
|
| 778 | 778 |
return new PredMap(g); |
| ... | ... |
@@ -784,11 +784,11 @@ |
| 784 | 784 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 785 | 785 |
///By default it is a NullMap. |
| 786 | 786 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 787 |
///Instantiates a |
|
| 787 |
///Instantiates a ProcessedMap. |
|
| 788 | 788 |
|
| 789 |
///This function instantiates a |
|
| 789 |
///This function instantiates a ProcessedMap. |
|
| 790 | 790 |
///\param g is the digraph, to which |
| 791 |
///we would like to define the |
|
| 791 |
///we would like to define the ProcessedMap. |
|
| 792 | 792 |
#ifdef DOXYGEN |
| 793 | 793 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 794 | 794 |
#else |
| ... | ... |
@@ -803,11 +803,11 @@ |
| 803 | 803 |
///The type of the map that indicates which nodes are reached. |
| 804 | 804 |
///It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 805 | 805 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 806 |
///Instantiates a |
|
| 806 |
///Instantiates a ReachedMap. |
|
| 807 | 807 |
|
| 808 |
///This function instantiates a |
|
| 808 |
///This function instantiates a ReachedMap. |
|
| 809 | 809 |
///\param g is the digraph, to which |
| 810 |
///we would like to define the |
|
| 810 |
///we would like to define the ReachedMap. |
|
| 811 | 811 |
static ReachedMap *createReachedMap(const Digraph &g) |
| 812 | 812 |
{
|
| 813 | 813 |
return new ReachedMap(g); |
| ... | ... |
@@ -818,11 +818,11 @@ |
| 818 | 818 |
///The type of the map that stores the distances of the nodes. |
| 819 | 819 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 820 | 820 |
typedef typename Digraph::template NodeMap<int> DistMap; |
| 821 |
///Instantiates a |
|
| 821 |
///Instantiates a DistMap. |
|
| 822 | 822 |
|
| 823 |
///This function instantiates a |
|
| 823 |
///This function instantiates a DistMap. |
|
| 824 | 824 |
///\param g is the digraph, to which we would like to define |
| 825 |
///the |
|
| 825 |
///the DistMap |
|
| 826 | 826 |
static DistMap *createDistMap(const Digraph &g) |
| 827 | 827 |
{
|
| 828 | 828 |
return new DistMap(g); |
| ... | ... |
@@ -1001,10 +1001,10 @@ |
| 1001 | 1001 |
SetPredMapBase(const TR &b) : TR(b) {}
|
| 1002 | 1002 |
}; |
| 1003 | 1003 |
///\brief \ref named-func-param "Named parameter" |
| 1004 |
///for setting |
|
| 1004 |
///for setting PredMap object. |
|
| 1005 | 1005 |
/// |
| 1006 | 1006 |
///\ref named-func-param "Named parameter" |
| 1007 |
///for setting |
|
| 1007 |
///for setting PredMap object. |
|
| 1008 | 1008 |
template<class T> |
| 1009 | 1009 |
DfsWizard<SetPredMapBase<T> > predMap(const T &t) |
| 1010 | 1010 |
{
|
| ... | ... |
@@ -1019,10 +1019,10 @@ |
| 1019 | 1019 |
SetReachedMapBase(const TR &b) : TR(b) {}
|
| 1020 | 1020 |
}; |
| 1021 | 1021 |
///\brief \ref named-func-param "Named parameter" |
| 1022 |
///for setting |
|
| 1022 |
///for setting ReachedMap object. |
|
| 1023 | 1023 |
/// |
| 1024 | 1024 |
/// \ref named-func-param "Named parameter" |
| 1025 |
///for setting |
|
| 1025 |
///for setting ReachedMap object. |
|
| 1026 | 1026 |
template<class T> |
| 1027 | 1027 |
DfsWizard<SetReachedMapBase<T> > reachedMap(const T &t) |
| 1028 | 1028 |
{
|
| ... | ... |
@@ -1037,10 +1037,10 @@ |
| 1037 | 1037 |
SetDistMapBase(const TR &b) : TR(b) {}
|
| 1038 | 1038 |
}; |
| 1039 | 1039 |
///\brief \ref named-func-param "Named parameter" |
| 1040 |
///for setting |
|
| 1040 |
///for setting DistMap object. |
|
| 1041 | 1041 |
/// |
| 1042 | 1042 |
/// \ref named-func-param "Named parameter" |
| 1043 |
///for setting |
|
| 1043 |
///for setting DistMap object. |
|
| 1044 | 1044 |
template<class T> |
| 1045 | 1045 |
DfsWizard<SetDistMapBase<T> > distMap(const T &t) |
| 1046 | 1046 |
{
|
| ... | ... |
@@ -1055,10 +1055,10 @@ |
| 1055 | 1055 |
SetProcessedMapBase(const TR &b) : TR(b) {}
|
| 1056 | 1056 |
}; |
| 1057 | 1057 |
///\brief \ref named-func-param "Named parameter" |
| 1058 |
///for setting |
|
| 1058 |
///for setting ProcessedMap object. |
|
| 1059 | 1059 |
/// |
| 1060 | 1060 |
/// \ref named-func-param "Named parameter" |
| 1061 |
///for setting |
|
| 1061 |
///for setting ProcessedMap object. |
|
| 1062 | 1062 |
template<class T> |
| 1063 | 1063 |
DfsWizard<SetProcessedMapBase<T> > processedMap(const T &t) |
| 1064 | 1064 |
{
|
| ... | ... |
@@ -1213,11 +1213,11 @@ |
| 1213 | 1213 |
/// It must meet the \ref concepts::ReadWriteMap "ReadWriteMap" concept. |
| 1214 | 1214 |
typedef typename Digraph::template NodeMap<bool> ReachedMap; |
| 1215 | 1215 |
|
| 1216 |
/// \brief Instantiates a |
|
| 1216 |
/// \brief Instantiates a ReachedMap. |
|
| 1217 | 1217 |
/// |
| 1218 |
/// This function instantiates a |
|
| 1218 |
/// This function instantiates a ReachedMap. |
|
| 1219 | 1219 |
/// \param digraph is the digraph, to which |
| 1220 |
/// we would like to define the |
|
| 1220 |
/// we would like to define the ReachedMap. |
|
| 1221 | 1221 |
static ReachedMap *createReachedMap(const Digraph &digraph) {
|
| 1222 | 1222 |
return new ReachedMap(digraph); |
| 1223 | 1223 |
} |
| ... | ... |
@@ -139,11 +139,11 @@ |
| 139 | 139 |
///arcs of the shortest paths. |
| 140 | 140 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 141 | 141 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 142 |
///Instantiates a |
|
| 142 |
///Instantiates a PredMap. |
|
| 143 | 143 |
|
| 144 |
///This function instantiates a |
|
| 144 |
///This function instantiates a PredMap. |
|
| 145 | 145 |
///\param g is the digraph, to which we would like to define the |
| 146 |
/// |
|
| 146 |
///PredMap. |
|
| 147 | 147 |
static PredMap *createPredMap(const Digraph &g) |
| 148 | 148 |
{
|
| 149 | 149 |
return new PredMap(g); |
| ... | ... |
@@ -155,11 +155,11 @@ |
| 155 | 155 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 156 | 156 |
///By default it is a NullMap. |
| 157 | 157 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 158 |
///Instantiates a |
|
| 158 |
///Instantiates a ProcessedMap. |
|
| 159 | 159 |
|
| 160 |
///This function instantiates a |
|
| 160 |
///This function instantiates a ProcessedMap. |
|
| 161 | 161 |
///\param g is the digraph, to which |
| 162 |
///we would like to define the |
|
| 162 |
///we would like to define the ProcessedMap |
|
| 163 | 163 |
#ifdef DOXYGEN |
| 164 | 164 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 165 | 165 |
#else |
| ... | ... |
@@ -174,11 +174,11 @@ |
| 174 | 174 |
///The type of the map that stores the distances of the nodes. |
| 175 | 175 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 176 | 176 |
typedef typename Digraph::template NodeMap<typename LM::Value> DistMap; |
| 177 |
///Instantiates a |
|
| 177 |
///Instantiates a DistMap. |
|
| 178 | 178 |
|
| 179 |
///This function instantiates a |
|
| 179 |
///This function instantiates a DistMap. |
|
| 180 | 180 |
///\param g is the digraph, to which we would like to define |
| 181 |
///the |
|
| 181 |
///the DistMap |
|
| 182 | 182 |
static DistMap *createDistMap(const Digraph &g) |
| 183 | 183 |
{
|
| 184 | 184 |
return new DistMap(g); |
| ... | ... |
@@ -327,10 +327,10 @@ |
| 327 | 327 |
} |
| 328 | 328 |
}; |
| 329 | 329 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 330 |
/// |
|
| 330 |
///PredMap type. |
|
| 331 | 331 |
/// |
| 332 | 332 |
///\ref named-templ-param "Named parameter" for setting |
| 333 |
/// |
|
| 333 |
///PredMap type. |
|
| 334 | 334 |
template <class T> |
| 335 | 335 |
struct SetPredMap |
| 336 | 336 |
: public Dijkstra< Digraph, LengthMap, SetPredMapTraits<T> > {
|
| ... | ... |
@@ -347,10 +347,10 @@ |
| 347 | 347 |
} |
| 348 | 348 |
}; |
| 349 | 349 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 350 |
/// |
|
| 350 |
///DistMap type. |
|
| 351 | 351 |
/// |
| 352 | 352 |
///\ref named-templ-param "Named parameter" for setting |
| 353 |
/// |
|
| 353 |
///DistMap type. |
|
| 354 | 354 |
template <class T> |
| 355 | 355 |
struct SetDistMap |
| 356 | 356 |
: public Dijkstra< Digraph, LengthMap, SetDistMapTraits<T> > {
|
| ... | ... |
@@ -367,10 +367,10 @@ |
| 367 | 367 |
} |
| 368 | 368 |
}; |
| 369 | 369 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 370 |
/// |
|
| 370 |
///ProcessedMap type. |
|
| 371 | 371 |
/// |
| 372 | 372 |
///\ref named-templ-param "Named parameter" for setting |
| 373 |
/// |
|
| 373 |
///ProcessedMap type. |
|
| 374 | 374 |
template <class T> |
| 375 | 375 |
struct SetProcessedMap |
| 376 | 376 |
: public Dijkstra< Digraph, LengthMap, SetProcessedMapTraits<T> > {
|
| ... | ... |
@@ -385,10 +385,10 @@ |
| 385 | 385 |
} |
| 386 | 386 |
}; |
| 387 | 387 |
///\brief \ref named-templ-param "Named parameter" for setting |
| 388 |
/// |
|
| 388 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 389 | 389 |
/// |
| 390 | 390 |
///\ref named-templ-param "Named parameter" for setting |
| 391 |
/// |
|
| 391 |
///ProcessedMap type to be <tt>Digraph::NodeMap<bool></tt>. |
|
| 392 | 392 |
///If you don't set it explicitly, it will be automatically allocated. |
| 393 | 393 |
struct SetStandardProcessedMap |
| 394 | 394 |
: public Dijkstra< Digraph, LengthMap, SetStandardProcessedMapTraits > {
|
| ... | ... |
@@ -986,11 +986,11 @@ |
| 986 | 986 |
///arcs of the shortest paths. |
| 987 | 987 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 988 | 988 |
typedef typename Digraph::template NodeMap<typename Digraph::Arc> PredMap; |
| 989 |
///Instantiates a |
|
| 989 |
///Instantiates a PredMap. |
|
| 990 | 990 |
|
| 991 |
///This function instantiates a |
|
| 991 |
///This function instantiates a PredMap. |
|
| 992 | 992 |
///\param g is the digraph, to which we would like to define the |
| 993 |
/// |
|
| 993 |
///PredMap. |
|
| 994 | 994 |
static PredMap *createPredMap(const Digraph &g) |
| 995 | 995 |
{
|
| 996 | 996 |
return new PredMap(g); |
| ... | ... |
@@ -1002,11 +1002,11 @@ |
| 1002 | 1002 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 1003 | 1003 |
///By default it is a NullMap. |
| 1004 | 1004 |
typedef NullMap<typename Digraph::Node,bool> ProcessedMap; |
| 1005 |
///Instantiates a |
|
| 1005 |
///Instantiates a ProcessedMap. |
|
| 1006 | 1006 |
|
| 1007 |
///This function instantiates a |
|
| 1007 |
///This function instantiates a ProcessedMap. |
|
| 1008 | 1008 |
///\param g is the digraph, to which |
| 1009 |
///we would like to define the |
|
| 1009 |
///we would like to define the ProcessedMap. |
|
| 1010 | 1010 |
#ifdef DOXYGEN |
| 1011 | 1011 |
static ProcessedMap *createProcessedMap(const Digraph &g) |
| 1012 | 1012 |
#else |
| ... | ... |
@@ -1021,11 +1021,11 @@ |
| 1021 | 1021 |
///The type of the map that stores the distances of the nodes. |
| 1022 | 1022 |
///It must meet the \ref concepts::WriteMap "WriteMap" concept. |
| 1023 | 1023 |
typedef typename Digraph::template NodeMap<typename LM::Value> DistMap; |
| 1024 |
///Instantiates a |
|
| 1024 |
///Instantiates a DistMap. |
|
| 1025 | 1025 |
|
| 1026 |
///This function instantiates a |
|
| 1026 |
///This function instantiates a DistMap. |
|
| 1027 | 1027 |
///\param g is the digraph, to which we would like to define |
| 1028 |
///the |
|
| 1028 |
///the DistMap |
|
| 1029 | 1029 |
static DistMap *createDistMap(const Digraph &g) |
| 1030 | 1030 |
{
|
| 1031 | 1031 |
return new DistMap(g); |
| ... | ... |
@@ -1198,10 +1198,10 @@ |
| 1198 | 1198 |
SetPredMapBase(const TR &b) : TR(b) {}
|
| 1199 | 1199 |
}; |
| 1200 | 1200 |
///\brief \ref named-func-param "Named parameter" |
| 1201 |
///for setting |
|
| 1201 |
///for setting PredMap object. |
|
| 1202 | 1202 |
/// |
| 1203 | 1203 |
///\ref named-func-param "Named parameter" |
| 1204 |
///for setting |
|
| 1204 |
///for setting PredMap object. |
|
| 1205 | 1205 |
template<class T> |
| 1206 | 1206 |
DijkstraWizard<SetPredMapBase<T> > predMap(const T &t) |
| 1207 | 1207 |
{
|
| ... | ... |
@@ -1216,10 +1216,10 @@ |
| 1216 | 1216 |
SetDistMapBase(const TR &b) : TR(b) {}
|
| 1217 | 1217 |
}; |
| 1218 | 1218 |
///\brief \ref named-func-param "Named parameter" |
| 1219 |
///for setting |
|
| 1219 |
///for setting DistMap object. |
|
| 1220 | 1220 |
/// |
| 1221 | 1221 |
///\ref named-func-param "Named parameter" |
| 1222 |
///for setting |
|
| 1222 |
///for setting DistMap object. |
|
| 1223 | 1223 |
template<class T> |
| 1224 | 1224 |
DijkstraWizard<SetDistMapBase<T> > distMap(const T &t) |
| 1225 | 1225 |
{
|
| ... | ... |
@@ -1234,10 +1234,10 @@ |
| 1234 | 1234 |
SetProcessedMapBase(const TR &b) : TR(b) {}
|
| 1235 | 1235 |
}; |
| 1236 | 1236 |
///\brief \ref named-func-param "Named parameter" |
| 1237 |
///for setting |
|
| 1237 |
///for setting ProcessedMap object. |
|
| 1238 | 1238 |
/// |
| 1239 | 1239 |
/// \ref named-func-param "Named parameter" |
| 1240 |
///for setting |
|
| 1240 |
///for setting ProcessedMap object. |
|
| 1241 | 1241 |
template<class T> |
| 1242 | 1242 |
DijkstraWizard<SetProcessedMapBase<T> > processedMap(const T &t) |
| 1243 | 1243 |
{
|
| ... | ... |
@@ -73,9 +73,9 @@ |
| 73 | 73 |
void set(const Key&, const Value&) {}
|
| 74 | 74 |
}; |
| 75 | 75 |
|
| 76 |
/// Returns a \ref NullMap class |
|
| 77 |
|
|
| 78 |
/// |
|
| 76 |
/// Returns a \c NullMap class |
|
| 77 |
|
|
| 78 |
/// This function just returns a \c NullMap class. |
|
| 79 | 79 |
/// \relates NullMap |
| 80 | 80 |
template <typename K, typename V> |
| 81 | 81 |
NullMap<K, V> nullMap() {
|
| ... | ... |
@@ -88,7 +88,7 @@ |
| 88 | 88 |
/// This \ref concepts::ReadMap "readable map" assigns a specified |
| 89 | 89 |
/// value to each key. |
| 90 | 90 |
/// |
| 91 |
/// In other aspects it is equivalent to \ |
|
| 91 |
/// In other aspects it is equivalent to \c NullMap. |
|
| 92 | 92 |
/// So it conforms the \ref concepts::ReadWriteMap "ReadWriteMap" |
| 93 | 93 |
/// concept, but it absorbs the data written to it. |
| 94 | 94 |
/// |
| ... | ... |
@@ -133,9 +133,9 @@ |
| 133 | 133 |
ConstMap(const ConstMap<K, V1> &, const Value &v) : _value(v) {}
|
| 134 | 134 |
}; |
| 135 | 135 |
|
| 136 |
/// Returns a \ref ConstMap class |
|
| 137 |
|
|
| 138 |
/// |
|
| 136 |
/// Returns a \c ConstMap class |
|
| 137 |
|
|
| 138 |
/// This function just returns a \c ConstMap class. |
|
| 139 | 139 |
/// \relates ConstMap |
| 140 | 140 |
template<typename K, typename V> |
| 141 | 141 |
inline ConstMap<K, V> constMap(const V &v) {
|
| ... | ... |
@@ -156,7 +156,7 @@ |
| 156 | 156 |
/// This \ref concepts::ReadMap "readable map" assigns a specified |
| 157 | 157 |
/// value to each key. |
| 158 | 158 |
/// |
| 159 |
/// In other aspects it is equivalent to \ |
|
| 159 |
/// In other aspects it is equivalent to \c NullMap. |
|
| 160 | 160 |
/// So it conforms the \ref concepts::ReadWriteMap "ReadWriteMap" |
| 161 | 161 |
/// concept, but it absorbs the data written to it. |
| 162 | 162 |
/// |
| ... | ... |
@@ -182,9 +182,9 @@ |
| 182 | 182 |
void set(const Key&, const Value&) {}
|
| 183 | 183 |
}; |
| 184 | 184 |
|
| 185 |
/// Returns a \ref ConstMap class with inlined constant value |
|
| 186 |
|
|
| 187 |
/// |
|
| 185 |
/// Returns a \c ConstMap class with inlined constant value |
|
| 186 |
|
|
| 187 |
/// This function just returns a \c ConstMap class with inlined |
|
| 188 | 188 |
/// constant value. |
| 189 | 189 |
/// \relates ConstMap |
| 190 | 190 |
template<typename K, typename V, V v> |
| ... | ... |
@@ -212,9 +212,9 @@ |
| 212 | 212 |
} |
| 213 | 213 |
}; |
| 214 | 214 |
|
| 215 |
/// Returns an \ref IdentityMap class |
|
| 216 |
|
|
| 217 |
/// |
|
| 215 |
/// Returns an \c IdentityMap class |
|
| 216 |
|
|
| 217 |
/// This function just returns an \c IdentityMap class. |
|
| 218 | 218 |
/// \relates IdentityMap |
| 219 | 219 |
template<typename T> |
| 220 | 220 |
inline IdentityMap<T> identityMap() {
|
| ... | ... |
@@ -228,7 +228,7 @@ |
| 228 | 228 |
/// This map is essentially a wrapper for \c std::vector. It assigns |
| 229 | 229 |
/// values to integer keys from the range <tt>[0..size-1]</tt>. |
| 230 | 230 |
/// It can be used with some data structures, for example |
| 231 |
/// \ |
|
| 231 |
/// \c UnionFind, \c BinHeap, when the used items are small |
|
| 232 | 232 |
/// integers. This map conforms the \ref concepts::ReferenceMap |
| 233 | 233 |
/// "ReferenceMap" concept. |
| 234 | 234 |
/// |
| ... | ... |
@@ -268,7 +268,7 @@ |
| 268 | 268 |
RangeMap(const std::vector<V1>& vector) |
| 269 | 269 |
: _vector(vector.begin(), vector.end()) {}
|
| 270 | 270 |
|
| 271 |
/// Constructs the map from another \ |
|
| 271 |
/// Constructs the map from another \c RangeMap. |
|
| 272 | 272 |
template <typename V1> |
| 273 | 273 |
RangeMap(const RangeMap<V1> &c) |
| 274 | 274 |
: _vector(c._vector.begin(), c._vector.end()) {}
|
| ... | ... |
@@ -311,19 +311,19 @@ |
| 311 | 311 |
} |
| 312 | 312 |
}; |
| 313 | 313 |
|
| 314 |
/// Returns a \ref RangeMap class |
|
| 315 |
|
|
| 316 |
/// |
|
| 314 |
/// Returns a \c RangeMap class |
|
| 315 |
|
|
| 316 |
/// This function just returns a \c RangeMap class. |
|
| 317 | 317 |
/// \relates RangeMap |
| 318 | 318 |
template<typename V> |
| 319 | 319 |
inline RangeMap<V> rangeMap(int size = 0, const V &value = V()) {
|
| 320 | 320 |
return RangeMap<V>(size, value); |
| 321 | 321 |
} |
| 322 | 322 |
|
| 323 |
/// \brief Returns a \ |
|
| 323 |
/// \brief Returns a \c RangeMap class created from an appropriate |
|
| 324 | 324 |
/// \c std::vector |
| 325 | 325 |
|
| 326 |
/// This function just returns a \ |
|
| 326 |
/// This function just returns a \c RangeMap class created from an |
|
| 327 | 327 |
/// appropriate \c std::vector. |
| 328 | 328 |
/// \relates RangeMap |
| 329 | 329 |
template<typename V> |
| ... | ... |
@@ -388,7 +388,7 @@ |
| 388 | 388 |
const Value &value = Value()) |
| 389 | 389 |
: _map(map.begin(), map.end()), _value(value) {}
|
| 390 | 390 |
|
| 391 |
/// \brief Constructs the map from another \ |
|
| 391 |
/// \brief Constructs the map from another \c SparseMap. |
|
| 392 | 392 |
template<typename V1, typename Comp1> |
| 393 | 393 |
SparseMap(const SparseMap<Key, V1, Comp1> &c) |
| 394 | 394 |
: _map(c._map.begin(), c._map.end()), _value(c._value) {}
|
| ... | ... |
@@ -433,9 +433,9 @@ |
| 433 | 433 |
} |
| 434 | 434 |
}; |
| 435 | 435 |
|
| 436 |
/// Returns a \ref SparseMap class |
|
| 437 |
|
|
| 438 |
/// |
|
| 436 |
/// Returns a \c SparseMap class |
|
| 437 |
|
|
| 438 |
/// This function just returns a \c SparseMap class with specified |
|
| 439 | 439 |
/// default value. |
| 440 | 440 |
/// \relates SparseMap |
| 441 | 441 |
template<typename K, typename V, typename Compare> |
| ... | ... |
@@ -448,10 +448,10 @@ |
| 448 | 448 |
return SparseMap<K, V, std::less<K> >(value); |
| 449 | 449 |
} |
| 450 | 450 |
|
| 451 |
/// \brief Returns a \ |
|
| 451 |
/// \brief Returns a \c SparseMap class created from an appropriate |
|
| 452 | 452 |
/// \c std::map |
| 453 | 453 |
|
| 454 |
/// This function just returns a \ |
|
| 454 |
/// This function just returns a \c SparseMap class created from an |
|
| 455 | 455 |
/// appropriate \c std::map. |
| 456 | 456 |
/// \relates SparseMap |
| 457 | 457 |
template<typename K, typename V, typename Compare> |
| ... | ... |
@@ -501,9 +501,9 @@ |
| 501 | 501 |
operator[](const Key &k) const { return _m1[_m2[k]]; }
|
| 502 | 502 |
}; |
| 503 | 503 |
|
| 504 |
/// Returns a \ref ComposeMap class |
|
| 505 |
|
|
| 506 |
/// |
|
| 504 |
/// Returns a \c ComposeMap class |
|
| 505 |
|
|
| 506 |
/// This function just returns a \c ComposeMap class. |
|
| 507 | 507 |
/// |
| 508 | 508 |
/// If \c m1 and \c m2 are maps and the \c Value type of \c m2 is |
| 509 | 509 |
/// convertible to the \c Key of \c m1, then <tt>composeMap(m1,m2)[x]</tt> |
| ... | ... |
@@ -556,9 +556,9 @@ |
| 556 | 556 |
Value operator[](const Key &k) const { return _f(_m1[k],_m2[k]); }
|
| 557 | 557 |
}; |
| 558 | 558 |
|
| 559 |
/// Returns a \ref CombineMap class |
|
| 560 |
|
|
| 561 |
/// |
|
| 559 |
/// Returns a \c CombineMap class |
|
| 560 |
|
|
| 561 |
/// This function just returns a \c CombineMap class. |
|
| 562 | 562 |
/// |
| 563 | 563 |
/// For example, if \c m1 and \c m2 are both maps with \c double |
| 564 | 564 |
/// values, then |
| ... | ... |
@@ -625,9 +625,9 @@ |
| 625 | 625 |
Value operator[](const Key &k) const { return _f(k); }
|
| 626 | 626 |
}; |
| 627 | 627 |
|
| 628 |
/// Returns a \ref FunctorToMap class |
|
| 629 |
|
|
| 630 |
/// |
|
| 628 |
/// Returns a \c FunctorToMap class |
|
| 629 |
|
|
| 630 |
/// This function just returns a \c FunctorToMap class. |
|
| 631 | 631 |
/// |
| 632 | 632 |
/// This function is specialized for adaptable binary function |
| 633 | 633 |
/// classes and C++ functions. |
| ... | ... |
@@ -684,9 +684,9 @@ |
| 684 | 684 |
Value operator[](const Key &k) const { return _m[k]; }
|
| 685 | 685 |
}; |
| 686 | 686 |
|
| 687 |
/// Returns a \ref MapToFunctor class |
|
| 688 |
|
|
| 689 |
/// |
|
| 687 |
/// Returns a \c MapToFunctor class |
|
| 688 |
|
|
| 689 |
/// This function just returns a \c MapToFunctor class. |
|
| 690 | 690 |
/// \relates MapToFunctor |
| 691 | 691 |
template<typename M> |
| 692 | 692 |
inline MapToFunctor<M> mapToFunctor(const M &m) {
|
| ... | ... |
@@ -723,9 +723,9 @@ |
| 723 | 723 |
Value operator[](const Key &k) const { return _m[k]; }
|
| 724 | 724 |
}; |
| 725 | 725 |
|
| 726 |
/// Returns a \ref ConvertMap class |
|
| 727 |
|
|
| 728 |
/// |
|
| 726 |
/// Returns a \c ConvertMap class |
|
| 727 |
|
|
| 728 |
/// This function just returns a \c ConvertMap class. |
|
| 729 | 729 |
/// \relates ConvertMap |
| 730 | 730 |
template<typename V, typename M> |
| 731 | 731 |
inline ConvertMap<M, V> convertMap(const M &map) {
|
| ... | ... |
@@ -763,9 +763,9 @@ |
| 763 | 763 |
void set(const Key &k, const Value &v) { _m1.set(k,v); _m2.set(k,v); }
|
| 764 | 764 |
}; |
| 765 | 765 |
|
| 766 |
/// Returns a \ref ForkMap class |
|
| 767 |
|
|
| 768 |
/// |
|
| 766 |
/// Returns a \c ForkMap class |
|
| 767 |
|
|
| 768 |
/// This function just returns a \c ForkMap class. |
|
| 769 | 769 |
/// \relates ForkMap |
| 770 | 770 |
template <typename M1, typename M2> |
| 771 | 771 |
inline ForkMap<M1,M2> forkMap(M1 &m1, M2 &m2) {
|
| ... | ... |
@@ -807,9 +807,9 @@ |
| 807 | 807 |
Value operator[](const Key &k) const { return _m1[k]+_m2[k]; }
|
| 808 | 808 |
}; |
| 809 | 809 |
|
| 810 |
/// Returns an \ref AddMap class |
|
| 811 |
|
|
| 812 |
/// |
|
| 810 |
/// Returns an \c AddMap class |
|
| 811 |
|
|
| 812 |
/// This function just returns an \c AddMap class. |
|
| 813 | 813 |
/// |
| 814 | 814 |
/// For example, if \c m1 and \c m2 are both maps with \c double |
| 815 | 815 |
/// values, then <tt>addMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -855,9 +855,9 @@ |
| 855 | 855 |
Value operator[](const Key &k) const { return _m1[k]-_m2[k]; }
|
| 856 | 856 |
}; |
| 857 | 857 |
|
| 858 |
/// Returns a \ref SubMap class |
|
| 859 |
|
|
| 860 |
/// |
|
| 858 |
/// Returns a \c SubMap class |
|
| 859 |
|
|
| 860 |
/// This function just returns a \c SubMap class. |
|
| 861 | 861 |
/// |
| 862 | 862 |
/// For example, if \c m1 and \c m2 are both maps with \c double |
| 863 | 863 |
/// values, then <tt>subMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -904,9 +904,9 @@ |
| 904 | 904 |
Value operator[](const Key &k) const { return _m1[k]*_m2[k]; }
|
| 905 | 905 |
}; |
| 906 | 906 |
|
| 907 |
/// Returns a \ref MulMap class |
|
| 908 |
|
|
| 909 |
/// |
|
| 907 |
/// Returns a \c MulMap class |
|
| 908 |
|
|
| 909 |
/// This function just returns a \c MulMap class. |
|
| 910 | 910 |
/// |
| 911 | 911 |
/// For example, if \c m1 and \c m2 are both maps with \c double |
| 912 | 912 |
/// values, then <tt>mulMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -952,9 +952,9 @@ |
| 952 | 952 |
Value operator[](const Key &k) const { return _m1[k]/_m2[k]; }
|
| 953 | 953 |
}; |
| 954 | 954 |
|
| 955 |
/// Returns a \ref DivMap class |
|
| 956 |
|
|
| 957 |
/// |
|
| 955 |
/// Returns a \c DivMap class |
|
| 956 |
|
|
| 957 |
/// This function just returns a \c DivMap class. |
|
| 958 | 958 |
/// |
| 959 | 959 |
/// For example, if \c m1 and \c m2 are both maps with \c double |
| 960 | 960 |
/// values, then <tt>divMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -1038,9 +1038,9 @@ |
| 1038 | 1038 |
void set(const Key &k, const Value &v) { _m.set(k, v-_v); }
|
| 1039 | 1039 |
}; |
| 1040 | 1040 |
|
| 1041 |
/// Returns a \ref ShiftMap class |
|
| 1042 |
|
|
| 1043 |
/// |
|
| 1041 |
/// Returns a \c ShiftMap class |
|
| 1042 |
|
|
| 1043 |
/// This function just returns a \c ShiftMap class. |
|
| 1044 | 1044 |
/// |
| 1045 | 1045 |
/// For example, if \c m is a map with \c double values and \c v is |
| 1046 | 1046 |
/// \c double, then <tt>shiftMap(m,v)[x]</tt> will be equal to |
| ... | ... |
@@ -1052,9 +1052,9 @@ |
| 1052 | 1052 |
return ShiftMap<M, C>(m,v); |
| 1053 | 1053 |
} |
| 1054 | 1054 |
|
| 1055 |
/// Returns a \ref ShiftWriteMap class |
|
| 1056 |
|
|
| 1057 |
/// |
|
| 1055 |
/// Returns a \c ShiftWriteMap class |
|
| 1056 |
|
|
| 1057 |
/// This function just returns a \c ShiftWriteMap class. |
|
| 1058 | 1058 |
/// |
| 1059 | 1059 |
/// For example, if \c m is a map with \c double values and \c v is |
| 1060 | 1060 |
/// \c double, then <tt>shiftWriteMap(m,v)[x]</tt> will be equal to |
| ... | ... |
@@ -1140,9 +1140,9 @@ |
| 1140 | 1140 |
void set(const Key &k, const Value &v) { _m.set(k, v/_v); }
|
| 1141 | 1141 |
}; |
| 1142 | 1142 |
|
| 1143 |
/// Returns a \ref ScaleMap class |
|
| 1144 |
|
|
| 1145 |
/// |
|
| 1143 |
/// Returns a \c ScaleMap class |
|
| 1144 |
|
|
| 1145 |
/// This function just returns a \c ScaleMap class. |
|
| 1146 | 1146 |
/// |
| 1147 | 1147 |
/// For example, if \c m is a map with \c double values and \c v is |
| 1148 | 1148 |
/// \c double, then <tt>scaleMap(m,v)[x]</tt> will be equal to |
| ... | ... |
@@ -1154,9 +1154,9 @@ |
| 1154 | 1154 |
return ScaleMap<M, C>(m,v); |
| 1155 | 1155 |
} |
| 1156 | 1156 |
|
| 1157 |
/// Returns a \ref ScaleWriteMap class |
|
| 1158 |
|
|
| 1159 |
/// |
|
| 1157 |
/// Returns a \c ScaleWriteMap class |
|
| 1158 |
|
|
| 1159 |
/// This function just returns a \c ScaleWriteMap class. |
|
| 1160 | 1160 |
/// |
| 1161 | 1161 |
/// For example, if \c m is a map with \c double values and \c v is |
| 1162 | 1162 |
/// \c double, then <tt>scaleWriteMap(m,v)[x]</tt> will be equal to |
| ... | ... |
@@ -1240,9 +1240,9 @@ |
| 1240 | 1240 |
void set(const Key &k, const Value &v) { _m.set(k, -v); }
|
| 1241 | 1241 |
}; |
| 1242 | 1242 |
|
| 1243 |
/// Returns a \ref NegMap class |
|
| 1244 |
|
|
| 1245 |
/// |
|
| 1243 |
/// Returns a \c NegMap class |
|
| 1244 |
|
|
| 1245 |
/// This function just returns a \c NegMap class. |
|
| 1246 | 1246 |
/// |
| 1247 | 1247 |
/// For example, if \c m is a map with \c double values, then |
| 1248 | 1248 |
/// <tt>negMap(m)[x]</tt> will be equal to <tt>-m[x]</tt>. |
| ... | ... |
@@ -1253,9 +1253,9 @@ |
| 1253 | 1253 |
return NegMap<M>(m); |
| 1254 | 1254 |
} |
| 1255 | 1255 |
|
| 1256 |
/// Returns a \ref NegWriteMap class |
|
| 1257 |
|
|
| 1258 |
/// |
|
| 1256 |
/// Returns a \c NegWriteMap class |
|
| 1257 |
|
|
| 1258 |
/// This function just returns a \c NegWriteMap class. |
|
| 1259 | 1259 |
/// |
| 1260 | 1260 |
/// For example, if \c m is a map with \c double values, then |
| 1261 | 1261 |
/// <tt>negWriteMap(m)[x]</tt> will be equal to <tt>-m[x]</tt>. |
| ... | ... |
@@ -1296,9 +1296,9 @@ |
| 1296 | 1296 |
|
| 1297 | 1297 |
}; |
| 1298 | 1298 |
|
| 1299 |
/// Returns an \ref AbsMap class |
|
| 1300 |
|
|
| 1301 |
/// |
|
| 1299 |
/// Returns an \c AbsMap class |
|
| 1300 |
|
|
| 1301 |
/// This function just returns an \c AbsMap class. |
|
| 1302 | 1302 |
/// |
| 1303 | 1303 |
/// For example, if \c m is a map with \c double values, then |
| 1304 | 1304 |
/// <tt>absMap(m)[x]</tt> will be equal to <tt>m[x]</tt> if |
| ... | ... |
@@ -1345,9 +1345,9 @@ |
| 1345 | 1345 |
Value operator[](const Key&) const { return true; }
|
| 1346 | 1346 |
}; |
| 1347 | 1347 |
|
| 1348 |
/// Returns a \ref TrueMap class |
|
| 1349 |
|
|
| 1350 |
/// |
|
| 1348 |
/// Returns a \c TrueMap class |
|
| 1349 |
|
|
| 1350 |
/// This function just returns a \c TrueMap class. |
|
| 1351 | 1351 |
/// \relates TrueMap |
| 1352 | 1352 |
template<typename K> |
| 1353 | 1353 |
inline TrueMap<K> trueMap() {
|
| ... | ... |
@@ -1382,9 +1382,9 @@ |
| 1382 | 1382 |
Value operator[](const Key&) const { return false; }
|
| 1383 | 1383 |
}; |
| 1384 | 1384 |
|
| 1385 |
/// Returns a \ref FalseMap class |
|
| 1386 |
|
|
| 1387 |
/// |
|
| 1385 |
/// Returns a \c FalseMap class |
|
| 1386 |
|
|
| 1387 |
/// This function just returns a \c FalseMap class. |
|
| 1388 | 1388 |
/// \relates FalseMap |
| 1389 | 1389 |
template<typename K> |
| 1390 | 1390 |
inline FalseMap<K> falseMap() {
|
| ... | ... |
@@ -1429,9 +1429,9 @@ |
| 1429 | 1429 |
Value operator[](const Key &k) const { return _m1[k]&&_m2[k]; }
|
| 1430 | 1430 |
}; |
| 1431 | 1431 |
|
| 1432 |
/// Returns an \ref AndMap class |
|
| 1433 |
|
|
| 1434 |
/// |
|
| 1432 |
/// Returns an \c AndMap class |
|
| 1433 |
|
|
| 1434 |
/// This function just returns an \c AndMap class. |
|
| 1435 | 1435 |
/// |
| 1436 | 1436 |
/// For example, if \c m1 and \c m2 are both maps with \c bool values, |
| 1437 | 1437 |
/// then <tt>andMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -1477,9 +1477,9 @@ |
| 1477 | 1477 |
Value operator[](const Key &k) const { return _m1[k]||_m2[k]; }
|
| 1478 | 1478 |
}; |
| 1479 | 1479 |
|
| 1480 |
/// Returns an \ref OrMap class |
|
| 1481 |
|
|
| 1482 |
/// |
|
| 1480 |
/// Returns an \c OrMap class |
|
| 1481 |
|
|
| 1482 |
/// This function just returns an \c OrMap class. |
|
| 1483 | 1483 |
/// |
| 1484 | 1484 |
/// For example, if \c m1 and \c m2 are both maps with \c bool values, |
| 1485 | 1485 |
/// then <tt>orMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -1544,9 +1544,9 @@ |
| 1544 | 1544 |
void set(const Key &k, bool v) { _m.set(k, !v); }
|
| 1545 | 1545 |
}; |
| 1546 | 1546 |
|
| 1547 |
/// Returns a \ref NotMap class |
|
| 1548 |
|
|
| 1549 |
/// |
|
| 1547 |
/// Returns a \c NotMap class |
|
| 1548 |
|
|
| 1549 |
/// This function just returns a \c NotMap class. |
|
| 1550 | 1550 |
/// |
| 1551 | 1551 |
/// For example, if \c m is a map with \c bool values, then |
| 1552 | 1552 |
/// <tt>notMap(m)[x]</tt> will be equal to <tt>!m[x]</tt>. |
| ... | ... |
@@ -1557,9 +1557,9 @@ |
| 1557 | 1557 |
return NotMap<M>(m); |
| 1558 | 1558 |
} |
| 1559 | 1559 |
|
| 1560 |
/// Returns a \ref NotWriteMap class |
|
| 1561 |
|
|
| 1562 |
/// |
|
| 1560 |
/// Returns a \c NotWriteMap class |
|
| 1561 |
|
|
| 1562 |
/// This function just returns a \c NotWriteMap class. |
|
| 1563 | 1563 |
/// |
| 1564 | 1564 |
/// For example, if \c m is a map with \c bool values, then |
| 1565 | 1565 |
/// <tt>notWriteMap(m)[x]</tt> will be equal to <tt>!m[x]</tt>. |
| ... | ... |
@@ -1605,9 +1605,9 @@ |
| 1605 | 1605 |
Value operator[](const Key &k) const { return _m1[k]==_m2[k]; }
|
| 1606 | 1606 |
}; |
| 1607 | 1607 |
|
| 1608 |
/// Returns an \ref EqualMap class |
|
| 1609 |
|
|
| 1610 |
/// |
|
| 1608 |
/// Returns an \c EqualMap class |
|
| 1609 |
|
|
| 1610 |
/// This function just returns an \c EqualMap class. |
|
| 1611 | 1611 |
/// |
| 1612 | 1612 |
/// For example, if \c m1 and \c m2 are maps with keys and values of |
| 1613 | 1613 |
/// the same type, then <tt>equalMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -1653,9 +1653,9 @@ |
| 1653 | 1653 |
Value operator[](const Key &k) const { return _m1[k]<_m2[k]; }
|
| 1654 | 1654 |
}; |
| 1655 | 1655 |
|
| 1656 |
/// Returns an \ref LessMap class |
|
| 1657 |
|
|
| 1658 |
/// |
|
| 1656 |
/// Returns an \c LessMap class |
|
| 1657 |
|
|
| 1658 |
/// This function just returns an \c LessMap class. |
|
| 1659 | 1659 |
/// |
| 1660 | 1660 |
/// For example, if \c m1 and \c m2 are maps with keys and values of |
| 1661 | 1661 |
/// the same type, then <tt>lessMap(m1,m2)[x]</tt> will be equal to |
| ... | ... |
@@ -1745,9 +1745,9 @@ |
| 1745 | 1745 |
Iterator _end; |
| 1746 | 1746 |
}; |
| 1747 | 1747 |
|
| 1748 |
/// Returns a \ref LoggerBoolMap class |
|
| 1749 |
|
|
| 1750 |
/// |
|
| 1748 |
/// Returns a \c LoggerBoolMap class |
|
| 1749 |
|
|
| 1750 |
/// This function just returns a \c LoggerBoolMap class. |
|
| 1751 | 1751 |
/// |
| 1752 | 1752 |
/// The most important usage of it is storing certain nodes or arcs |
| 1753 | 1753 |
/// that were marked \c true by an algorithm. |
| ... | ... |
@@ -1767,7 +1767,7 @@ |
| 1767 | 1767 |
/// |
| 1768 | 1768 |
/// \note LoggerBoolMap is just \ref concepts::WriteMap "writable", so |
| 1769 | 1769 |
/// it cannot be used when a readable map is needed, for example as |
| 1770 |
/// \c ReachedMap for \ |
|
| 1770 |
/// \c ReachedMap for \c Bfs, \c Dfs and \c Dijkstra algorithms. |
|
| 1771 | 1771 |
/// |
| 1772 | 1772 |
/// \relates LoggerBoolMap |
| 1773 | 1773 |
template<typename Iterator> |
| ... | ... |
@@ -2282,9 +2282,9 @@ |
| 2282 | 2282 |
const Digraph& _digraph; |
| 2283 | 2283 |
}; |
| 2284 | 2284 |
|
| 2285 |
/// \brief Returns a \ |
|
| 2285 |
/// \brief Returns a \c SourceMap class. |
|
| 2286 | 2286 |
/// |
| 2287 |
/// This function just returns an \ |
|
| 2287 |
/// This function just returns an \c SourceMap class. |
|
| 2288 | 2288 |
/// \relates SourceMap |
| 2289 | 2289 |
template <typename Digraph> |
| 2290 | 2290 |
inline SourceMap<Digraph> sourceMap(const Digraph& digraph) {
|
| ... | ... |
@@ -2321,9 +2321,9 @@ |
| 2321 | 2321 |
const Digraph& _digraph; |
| 2322 | 2322 |
}; |
| 2323 | 2323 |
|
| 2324 |
/// \brief Returns a \ |
|
| 2324 |
/// \brief Returns a \c TargetMap class. |
|
| 2325 | 2325 |
/// |
| 2326 |
/// This function just returns a \ |
|
| 2326 |
/// This function just returns a \c TargetMap class. |
|
| 2327 | 2327 |
/// \relates TargetMap |
| 2328 | 2328 |
template <typename Digraph> |
| 2329 | 2329 |
inline TargetMap<Digraph> targetMap(const Digraph& digraph) {
|
| ... | ... |
@@ -2360,9 +2360,9 @@ |
| 2360 | 2360 |
const Graph& _graph; |
| 2361 | 2361 |
}; |
| 2362 | 2362 |
|
| 2363 |
/// \brief Returns a \ |
|
| 2363 |
/// \brief Returns a \c ForwardMap class. |
|
| 2364 | 2364 |
/// |
| 2365 |
/// This function just returns an \ |
|
| 2365 |
/// This function just returns an \c ForwardMap class. |
|
| 2366 | 2366 |
/// \relates ForwardMap |
| 2367 | 2367 |
template <typename Graph> |
| 2368 | 2368 |
inline ForwardMap<Graph> forwardMap(const Graph& graph) {
|
| ... | ... |
@@ -2399,9 +2399,9 @@ |
| 2399 | 2399 |
const Graph& _graph; |
| 2400 | 2400 |
}; |
| 2401 | 2401 |
|
| 2402 |
/// \brief Returns a \ref BackwardMap class |
|
| 2403 |
|
|
| 2404 |
/// |
|
| 2402 |
/// \brief Returns a \c BackwardMap class |
|
| 2403 |
|
|
| 2404 |
/// This function just returns a \c BackwardMap class. |
|
| 2405 | 2405 |
/// \relates BackwardMap |
| 2406 | 2406 |
template <typename Graph> |
| 2407 | 2407 |
inline BackwardMap<Graph> backwardMap(const Graph& graph) {
|
0 comments (0 inline)