Class: Ignis::Collective::Algorithms::DoubleBinaryTree::TreeNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/nvruby/collective/algorithms/double_binary_tree.rb

Overview

Node in the double tree structure

Instance Attribute Summary collapse

Instance Attribute Details

#gpu_idObject

Returns the value of attribute gpu_id

Returns:

  • (Object)

    the current value of gpu_id



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def gpu_id
  @gpu_id
end

#left_childObject

Returns the value of attribute left_child

Returns:

  • (Object)

    the current value of left_child



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def left_child
  @left_child
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def parent
  @parent
end

#rankObject

Returns the value of attribute rank

Returns:

  • (Object)

    the current value of rank



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def rank
  @rank
end

#right_childObject

Returns the value of attribute right_child

Returns:

  • (Object)

    the current value of right_child



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def right_child
  @right_child
end

#tree_idObject

Returns the value of attribute tree_id

Returns:

  • (Object)

    the current value of tree_id



18
19
20
# File 'lib/nvruby/collective/algorithms/double_binary_tree.rb', line 18

def tree_id
  @tree_id
end