P4C
The P4 Compiler
Loading...
Searching...
No Matches
DecidePlacement::ResourceBasedAlloc Class Reference

Public Member Functions

 ResourceBasedAlloc (DecidePlacement &self, ordered_set< const GroupPlace * > &w, ordered_set< const IR::MAU::Table * > &p, const Placed *&a)
 
void add_placed_pos (const Placed *pl, const ordered_set< const GroupPlace * > &work, bool is_best)
 
PlacementScoreadd_stage_complete (const Placed *pl, const ordered_set< const GroupPlace * > &work, const safe_vector< const Placed * > &trial, bool only_best)
 
void clear_stage ()
 
bool found_other_placement ()
 
bool select_best_solution (const Placed *pl, PlacementScore *cur_score, std::list< BacktrackPlacement * > &initial_stage_options)