Class hierarchy¶
Defined in File defs.h
Class Documentation¶
-
class hierarchy¶
递归层次结构节点(Rack → Cluster → Board → FPGA)。
每个节点包含子节点列表 contents、聚合资源 fpgas、 原始资源 fpgas0,以及拓扑链路和节点标识信息。
Public Members
-
HierarchyType type¶
节点类型。
-
int node_id = -1¶
全局唯一节点 ID。
-
int parent_node_id = -1¶
父节点 ID。
-
string alias¶
节点别名(如 “R0.C1”)。
-
vector<int> children_node_ids¶
子节点 ID 列表。
-
flat_hash_map<string, int> alias_to_node_id¶
别名到节点 ID 的映射。
-
vector<HierarchyLink> topology_links¶
该层级的拓扑链路。
-
HierarchyType type¶