Class: Ignis::Collective::Algorithms::Tree::TreeNode
- Inherits:
-
Struct
- Object
- Struct
- Ignis::Collective::Algorithms::Tree::TreeNode
- Defined in:
- lib/nvruby/collective/algorithms/tree.rb
Overview
Tree node representing a GPU in the tree structure
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#gpu_id ⇒ Object
Returns the value of attribute gpu_id.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#rank ⇒ Object
Returns the value of attribute rank.
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
15 16 17 |
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15 def children @children end |
#depth ⇒ Object
Returns the value of attribute depth
15 16 17 |
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15 def depth @depth end |
#gpu_id ⇒ Object
Returns the value of attribute gpu_id
15 16 17 |
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15 def gpu_id @gpu_id end |
#parent ⇒ Object
Returns the value of attribute parent
15 16 17 |
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15 def parent @parent end |
#rank ⇒ Object
Returns the value of attribute rank
15 16 17 |
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15 def rank @rank end |