Daniel J. Hofmann
|
6e6b38e8e9
|
Revert the usage of TBB's iterator pair taking overloads.
This reverts the range based overload usage introduced in @6b2bf495.
Old TBB versions do not provide the range overloads.
|
2015-09-28 20:37:09 +02:00 |
|
Daniel J. Hofmann
|
9231335eef
|
Use Intel TBB's parallel_sort even for nested parallelism.
TBB has a global task scheduler (that's one of the reason TBB is not
linked statically but dyanmically instead). This allows control over all
running threads, enabling us to use nested parallelism and the scheduler
doing all the task allocation itself.
That is, nested parallel execution such as in
parallel_for(seq, [](const auto& rng){
parallel_sort(rng);
});
is no problem at all, as the scheduler still claims control over the
global environment.
Therefore, use `parallel_sort` Range overload where possible.
References:
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/algorithms.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/algorithms/parallel_sort_func.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/task_scheduler.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#reference/task_scheduler/task_scheduler_init_cls.htm
- https://www.threadingbuildingblocks.org/docs/help/hh_goto.htm#tbb_userguide/Initializing_and_Terminating_the_Library.htm
|
2015-09-28 20:26:03 +02:00 |
|
Patrick Niklaus
|
c43a2513a8
|
Rename tiny_components.hpp to tarjan_scc.hpp
Fixes #1561
|
2015-08-12 13:02:18 +02:00 |
|
Patrick Niklaus
|
49adf2192a
|
Move calculate_coordinate to algorithms/
Fixes #1367
|
2015-08-12 13:02:18 +02:00 |
|
Patrick Niklaus
|
35542e5823
|
Change interface of Tarjan get_component_size to take component id
|
2015-08-06 11:13:25 +02:00 |
|
Patrick Niklaus
|
3c055642d5
|
Remove reference to restrictions and bollard nodes because it does not work
|
2015-08-06 11:13:25 +02:00 |
|
Patrick Niklaus
|
3065de63dd
|
Move renumbering and edge deduplication in extractor
|
2015-06-01 17:22:12 +02:00 |
|
Patrick Niklaus
|
a57fb4f1ab
|
First step into overhauling the edge storage
|
2015-06-01 17:22:12 +02:00 |
|
Patrick Niklaus
|
e76d8df246
|
Fix tools to build with new graph reader interface
|
2015-05-28 15:18:48 +02:00 |
|
Patrick Niklaus
|
94d7fd9112
|
Adapt osrm-components to new FindEdge interface
|
2015-04-17 00:25:01 +02:00 |
|
Dennis Luxen
|
0d432f6377
|
fix comparison to recognize small components in a static graph
|
2015-04-16 16:11:06 +02:00 |
|
Dennis Luxen
|
4a0a0bac1d
|
clear right edge list after graph instantiation
|
2015-04-16 14:38:42 +02:00 |
|
Dennis Luxen
|
3bd27ae8c5
|
change copyright line from personal names to project
|
2015-02-19 09:19:51 +01:00 |
|
Dennis Luxen
|
9a998d7b41
|
rename short variable name to be more telling
|
2015-01-27 18:40:01 +01:00 |
|
Dennis Luxen
|
64a6859753
|
reduce number of old-style casts
|
2015-01-27 18:37:52 +01:00 |
|
Dennis Luxen
|
b20b7e65bf
|
renamed: Util/* -> util/*
|
2015-01-27 17:47:23 +01:00 |
|
Dennis Luxen
|
3fa12445a5
|
rename coordinate calculation functions, remove code clutter
|
2015-01-22 16:28:40 +01:00 |
|
Dennis Luxen
|
baacd0e50c
|
reformat source files
|
2015-01-22 12:24:54 +01:00 |
|
Dennis Luxen
|
db2ba22bd6
|
fix tests to run with new header coordinate_calculations
|
2015-01-20 17:56:50 +01:00 |
|
Dennis Luxen
|
fbce104f3b
|
use static graph for component exploration, closes #1288
|
2015-01-13 14:24:56 +01:00 |
|
Dennis Luxen
|
ef9074f8e4
|
renamed: Util/finger_print.* -> Util/fingerprint.*
thx @emiltin
|
2015-01-13 11:16:13 +01:00 |
|
Dennis Luxen
|
67f3111cc0
|
renamed: Util/FingerPrint.h -> Util/finger_print.hpp
|
2015-01-13 11:05:22 +01:00 |
|
Dennis Luxen
|
1328be2b61
|
move structs into anon namespace, move containers in function scope
|
2015-01-07 12:30:01 +01:00 |
|
Dennis Luxen
|
be63939441
|
fix includes
|
2015-01-06 13:35:36 +01:00 |
|
Dennis Luxen
|
25326b571b
|
renamed: Util/OSRMException.h -> Util/osrm_exception.hpp
|
2015-01-05 15:40:05 +01:00 |
|
Dennis Luxen
|
4b1224f874
|
fix copyright year
|
2014-12-23 14:38:04 +01:00 |
|
Dennis Luxen
|
8174b3b85a
|
output total number of compoments and those of size one
|
2014-12-23 14:33:38 +01:00 |
|
Dennis Luxen
|
8d8724b3e1
|
use SCC code for exploration of components
|
2014-12-23 12:27:04 +01:00 |
|
Dennis Luxen
|
47f65ccba6
|
use restriction map in tiny components
|
2014-12-23 11:47:19 +01:00 |
|
Dennis Luxen
|
47a2271e27
|
copy edits:
|
2014-12-23 11:30:45 +01:00 |
|
Dennis Luxen
|
a5c824f694
|
adapt tiny_components.hpp to have the same interface as bfs_components.hpp
|
2014-12-22 16:43:57 +01:00 |
|
Dennis Luxen
|
ccc4607d6d
|
renamed: Util/GraphLoader.h -> Util/graph_loader.hpp
|
2014-12-22 16:09:01 +01:00 |
|
Dennis Luxen
|
d31c6fe286
|
fix coverity issue 1258907 Division or modulo by float zero
|
2014-12-19 10:49:33 +01:00 |
|
Dennis Luxen
|
79de97d814
|
move application logic, i.e. shape file generation, from SCC traversal class to calling tool code
|
2014-12-18 18:14:14 +01:00 |
|
Dennis Luxen
|
4445f21e8a
|
renamed: Tools/* -> tools/*
|
2014-11-28 15:36:40 +01:00 |
|