Fast map matching.
More...
Fast map matching.
Utility functions
- Author
- : Can Yang
- Version
- : 2017.11.11 Utility functions for writing data to std stream
◆ operator<<() [1/4]
std::ostream & std::operator<< |
( |
std::ostream & |
os, |
|
|
const FMM::CORE::Point & |
geom |
|
) |
| |
Write a point into a stream.
- Parameters
-
os | stream to write |
geom | point |
- Returns
- the stream with wkt point written.
Definition at line 49 of file util.cpp.
◆ operator<<() [2/4]
Write optimal candidate path into a stream.
- Parameters
-
os | stream to write |
opath | optimal candidate path |
- Returns
- the stream with candidate path information written
Definition at line 38 of file util.cpp.
◆ operator<<() [3/4]
Write trajectory candidate to a stream.
- Parameters
-
os | stream to write |
tr_cs | trajectory candidate |
- Returns
- the stream with trajectory candidate information written
Definition at line 13 of file util.cpp.
◆ operator<<() [4/4]
template<typename T >
std::ostream& std::operator<< |
( |
std::ostream & |
os, |
|
|
const std::vector< T > & |
vec |
|
) |
| |
Print a vector of values.
- Template Parameters
-
- Parameters
-
os | stream to write result |
vec | input vector |
- Returns
- the stream with comma separated values of the vector written
Definition at line 39 of file util.hpp.