Open C3Shirt opened 2 years ago
out = 0 for i in range(1, 7): out += mask ** i self.mask = out == 0 代码里的mask表示的含义就是节点vi,只获取k步以内能够到达的节点信息,其它的就屏蔽掉,是这样理解的吗?
out = 0 for i in range(1, 7): out += mask ** i self.mask = out == 0
out = 0 for i in range(1, 7): out += mask ** i self.mask = out == 0
代码里的mask表示的含义就是节点vi,只获取k步以内能够到达的节点信息,其它的就屏蔽掉,是这样理解的吗?