.. _program_listing_file_src_partition_refine_strategy_StrategyFactory.h: Program Listing for File StrategyFactory.h ========================================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/partition/refine/strategy/StrategyFactory.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef PARTITION_REFINE_STRATEGY_STRATEGYFACTORY_H_ #define PARTITION_REFINE_STRATEGY_STRATEGYFACTORY_H_ #include "LegacyRefine.h" class StrategyFactory { public: static vector> createMainStrategies( const StrategyPlan &plan, int max_hop, int large_net_threshold, double penalty, vector> &cut_weights, const fpga &fpgas, const TimingRefineConfig &timing_cfg, int max_move, int max_neg_move); static unique_ptr createLegacyOldStrategy( int max_hop, int large_net_threshold, double penalty, vector> &cut_weights, const fpga &fpgas, const TimingRefineConfig &timing_cfg, bool has_fix, bool has_timing, bool enable_parallel_refine, int thread_order, int current_level, int multilevel_id); static unique_ptr createLegacyGreedyStrategy( int max_hop, int large_net_threshold, double penalty, vector> &cut_weights, const fpga &fpgas, const TimingRefineConfig &timing_cfg, bool has_fix); }; #endif