Removed commented speed profile
This commit is contained in:
parent
3ec4487297
commit
1db1b4e5ae
@ -31,23 +31,6 @@ struct _PathData {
|
|||||||
NodeID node;
|
NodeID node;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Default Speed Profile:
|
|
||||||
motorway 110
|
|
||||||
motorway_link 90
|
|
||||||
trunk 90
|
|
||||||
trunk_link 70
|
|
||||||
primary 70
|
|
||||||
primary_link 60
|
|
||||||
secondary 60
|
|
||||||
secondary_link 50
|
|
||||||
tertiary 55
|
|
||||||
unclassified 25
|
|
||||||
residential 40
|
|
||||||
living_street 10
|
|
||||||
service 30
|
|
||||||
ferry 5
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef google::dense_hash_map<std::string, NodeID> StringMap;
|
typedef google::dense_hash_map<std::string, NodeID> StringMap;
|
||||||
|
|
||||||
struct _Node : NodeInfo{
|
struct _Node : NodeInfo{
|
||||||
@ -174,7 +157,6 @@ struct _Restriction {
|
|||||||
char unused7:1;
|
char unused7:1;
|
||||||
} flags;
|
} flags;
|
||||||
|
|
||||||
|
|
||||||
_Restriction(NodeID vn) : viaNode(vn), fromNode(UINT_MAX), toNode(UINT_MAX) { }
|
_Restriction(NodeID vn) : viaNode(vn), fromNode(UINT_MAX), toNode(UINT_MAX) { }
|
||||||
_Restriction(bool isOnly = false) : viaNode(UINT_MAX), fromNode(UINT_MAX), toNode(UINT_MAX) {
|
_Restriction(bool isOnly = false) : viaNode(UINT_MAX), fromNode(UINT_MAX), toNode(UINT_MAX) {
|
||||||
flags.isOnly = isOnly;
|
flags.isOnly = isOnly;
|
||||||
@ -198,7 +180,6 @@ struct _RawRestrictionContainer {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct CmpRestrictionByFrom: public std::binary_function<_RawRestrictionContainer, _RawRestrictionContainer, bool> {
|
struct CmpRestrictionByFrom: public std::binary_function<_RawRestrictionContainer, _RawRestrictionContainer, bool> {
|
||||||
typedef _RawRestrictionContainer value_type;
|
typedef _RawRestrictionContainer value_type;
|
||||||
bool operator () (const _RawRestrictionContainer & a, const _RawRestrictionContainer & b) const {
|
bool operator () (const _RawRestrictionContainer & a, const _RawRestrictionContainer & b) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user