Rename module partition to partitioner. This cultivates naming used in existing modules like extractor, customizer, etc. - noun vs verb (word partition is both though).
		
			
				
	
	
		
			21 lines
		
	
	
		
			609 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			609 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OSRM_PARTITIONER_INERTIAL_FLOW_HPP_
 | |
| #define OSRM_PARTITIONER_INERTIAL_FLOW_HPP_
 | |
| 
 | |
| #include "partitioner/bisection_graph_view.hpp"
 | |
| #include "partitioner/dinic_max_flow.hpp"
 | |
| 
 | |
| namespace osrm
 | |
| {
 | |
| namespace partitioner
 | |
| {
 | |
| 
 | |
| DinicMaxFlow::MinCut computeInertialFlowCut(const BisectionGraphView &view,
 | |
|                                             const std::size_t num_slopes,
 | |
|                                             const double balance,
 | |
|                                             const double source_sink_rate);
 | |
| 
 | |
| } // namespace partitioner
 | |
| } // namespace osrm
 | |
| 
 | |
| #endif // OSRM_PARTITIONER_INERTIAL_FLOW_HPP_
 |