Class busclique::topo_spec_base#
-
class topo_spec_base#
Subclassed by busclique::chimera_spec_base, busclique::pegasus_spec_base, busclique::zephyr_spec_base
Public Functions
-
inline size_t cell_index(size_y y, size_x x, bool u) const#
cell_index is used for indexing into the nodemask and edgemask fields of cell_cache and topo_cache objects.
These are used to store bitmasks indicating the presence of nodes in the corresponding cell, or external edges between the corresponding cell and its greater parallel neighbor (that is, between the cells [y,x,0] and [y+1,x,0] or between the cells [y,x,1] and [y,x+1,1]).
-
inline size_t cell_index(bool u, size_w w, size_z z) const#
cell_index is used for indexing into the nodemask and edgemask fields of cell_cache and topo_cache objects.
These are used to store bitmasks indicating the presence of nodes in the corresponding cell, or external edges between the corresponding cell and its greater parallel neighbor (that is, between the cells [u,w,z] and [u,w,z+1])
-
inline size_t cell_index(size_y y, size_x x, bool u) const#