NodeCandidate
class samplomatic.graph_utils.NodeCandidate(graph: PyDiGraph[T, S], node: T)
Bases: Generic[T, S]
A node that we want to add to the graph, but not yet.
The node is only added when we ask for its node_idx in the graph.
Parameters
- graph – The graph to add the node to.
- node – The node data for the node to add.
Attributes Summary
コラム「 1 」 | コラム「 2 」 |
|---|---|
is_added | Whether the node has yet been added to the graph. |
node_idx | The node index in the graph. |
Attributes Documentation
is_added
Whether the node has yet been added to the graph.
node_idx
The node index in the graph.
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。