P4C
The P4 Compiler
|
Public Member Functions | |
BacktrackPlacement (DecidePlacement &self, const Placed *p, const ordered_set< const GroupPlace * > &w, bool ib) | |
int | get_num_placement_errors () const |
const Placed * | get_placed () const |
bool | is_best_placement () const |
bool | is_resource_mode () const |
bool | is_same_backtrack_pass () const |
const Placed * | operator-> () const |
BacktrackPlacement & | operator= (const BacktrackPlacement &a) |
void | reset_best_placement () |
const Placed * | reset_place_table (ordered_set< const GroupPlace * > &w, bool bt_inc=true) |
Public Attributes | |
bool | tried = false |
encapsulates the data needed to backtrack and continue on an alternate placement path a BacktrackPlacement object can be created from any not-yet-placed Placed object and the worklist it was chosen from. calling reset_place_table will reset and place the Placed object, updating the worklist to continue from that point,