G_fd: Gfd中的点集,原图编号
"""
for dep in functional_dependencies:
if len(dep.params) == 1: # TODO: [feat] dep.fid depends only on dep.params[0]:
param, f = dep.params[0].fid, dep.fid
u, v = f_ind[dep.params[0].fid], f_ind[dep.fid]
src, dest = NodeId.get(u, None), NodeId.get(v, None)
https://github.com/Kanaries/Rath/blob/fe41774375c795ea0335014cc8577d8e5c372691/services/causal-service/algorithms/causallearn/XLearner.py#L121