Class: Ignis::Collective::Algorithms::Tree::TreeNode

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

Overview

Tree node representing a GPU in the tree structure

Instance Attribute Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



15
16
17
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15

def children
  @children
end

#depthObject

Returns the value of attribute depth

Returns:

  • (Object)

    the current value of depth



15
16
17
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15

def depth
  @depth
end

#gpu_idObject

Returns the value of attribute gpu_id

Returns:

  • (Object)

    the current value of gpu_id



15
16
17
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15

def gpu_id
  @gpu_id
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



15
16
17
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15

def parent
  @parent
end

#rankObject

Returns the value of attribute rank

Returns:

  • (Object)

    the current value of rank



15
16
17
# File 'lib/nvruby/collective/algorithms/tree.rb', line 15

def rank
  @rank
end