Class: Ignis::Collective::Algorithms::DoubleBinaryTree::TreeNode
- Inherits:
-
Struct
- Object
- Struct
- Ignis::Collective::Algorithms::DoubleBinaryTree::TreeNode
- Defined in:
- lib/nvruby/collective/algorithms/double_binary_tree.rb
Overview
Node in the double tree structure
Instance Attribute Summary collapse
-
#gpu_id ⇒ Object
Returns the value of attribute gpu_id.
-
#left_child ⇒ Object
Returns the value of attribute left_child.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#rank ⇒ Object
Returns the value of attribute rank.
-
#right_child ⇒ Object
Returns the value of attribute right_child.
-
#tree_id ⇒ Object
Returns the value of attribute tree_id.
Instance Attribute Details
#gpu_id ⇒ Object
Returns the value of attribute gpu_id
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def gpu_id @gpu_id end |
#left_child ⇒ Object
Returns the value of attribute left_child
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def left_child @left_child end |
#parent ⇒ Object
Returns the value of attribute parent
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def parent @parent end |
#rank ⇒ Object
Returns the value of attribute rank
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def rank @rank end |
#right_child ⇒ Object
Returns the value of attribute right_child
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def right_child @right_child end |
#tree_id ⇒ Object
Returns the value of attribute tree_id
18 19 20 |
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18 def tree_id @tree_id end |