.. _program_listing_file_src_partition_refine_pipeline_CandidatePoolService.h: Program Listing for File CandidatePoolService.h =============================================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/partition/refine/pipeline/CandidatePoolService.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef PARTITION_REFINE_PIPELINE_CANDIDATEPOOLSERVICE_H_ #define PARTITION_REFINE_PIPELINE_CANDIDATEPOOLSERVICE_H_ #include "refine/core/RefinementRunTypes.h" class CandidatePoolService { public: using RefinementFn = std::function; static void localSearch(const fpga &fpgas, const graph &level_graph, vector &offspring, vector &occupied_resources, HSFullTiming::HSPartitionFlow &pFlow, float &worst_slack, const RefinementFn &refinement_fn); static void runLocalSearchBatch( const fpga &fpgas, int thread, const graph &level_graph, vector> &candidate_parts, vector> &candidate_occupied_resources, HSFullTiming::HSPartitionFlow &pFlow, vector &worst_slacks, const RefinementFn &refinement_fn); static void runRefinementBatch( int thread, const graph &level_graph, const fpga &fpgas, vector> &candidate_parts, vector> &candidate_occupied_resources, int remaining_solutions, HSFullTiming::HSPartitionFlow &pFlow, vector &worst_slacks, const RefinementFn &refinement_fn, bool decreaseMaxHopCntPriority = true); }; #endif