Class: Jumoku::Arborescence

Inherits:
Object
  • Object
show all
Includes:
ArborescenceBuilder
Defined in:
lib/jumoku/classes/tree_classes.rb

Overview

Instance Attribute Summary

Attributes included from Shared

#_options

Method Summary

Methods included from ArborescenceBuilder

#add_branch!, #children, #leaf?, #leaves, #leaves?, #neighbours, #neighbours?, #parent, #parent?, #root, #root?, #root_edges, #siblings, #siblings?

Methods included from Extended

#add_branch, #add_branches, #add_branches!, #add_consecutive_nodes, #add_consecutive_nodes!, #add_node, #add_nodes, #add_nodes!, #branch?, #branches?, #branches_among?, #node?, #nodes?, #nodes_among?, #num_branches, #num_nodes, #remove_branch, #remove_branches, #remove_branches!, #remove_node, #remove_nodes, #remove_nodes!

Methods included from RawDirectedTreeBuilder

#initialize, #valid?

Methods included from Shared

#add_branch!, #add_node!, #branches, #empty?, included, #nodes, #remove_branch!, #remove_node!, #terminal?, #terminal_nodes, #valid?