Module: StewEucen::Acts::FertileForest

Defined in:
lib/fertile_forest/saplings.rb,
lib/fertile_forest/modules/states.rb,
lib/fertile_forest/modules/configs.rb,
lib/fertile_forest/modules/finders.rb,
lib/fertile_forest/modules/entities.rb,
lib/fertile_forest/modules/utilities.rb,
lib/fertile_forest/modules/calculators.rb,
lib/fertile_forest/modules/reconstructers.rb

Overview

Name space of Fertile Forest

Defined Under Namespace

Modules: Entity, Table

Constant Summary collapse

ROOT_DEPTH =

consts used in Table and Entity

Since:

  • File available since Release 1.0.0

0
APPEND_BASE_ID_FIELD =

Since:

  • File available since Release 1.0.0

:ff_base_id
APPEND_NODE_RELATION_AS_LAST_CHILD =

Since:

  • File available since Release 1.0.0

-1
APPEND_NODE_RELATION_AS_ELDER_SIBLING =

Since:

  • File available since Release 1.0.0

false
ANCESTOR_ONLY_PARENT =

Since:

  • File available since Release 1.0.0

1
ANCESTOR_ONLY_ROOT =

Since:

  • File available since Release 1.0.0

-1
ANCESTOR_ALL =

Since:

  • File available since Release 1.0.0

0
DESCENDANTS_ALL =

Since:

  • File available since Release 1.0.0

0
DESCENDANTS_ONLY_CHILD =

Since:

  • File available since Release 1.0.0

1
SUBTREE_WITHOUT_TOP_NODE =

Since:

  • File available since Release 1.0.0

false
SUBTREE_WITH_TOP_NODE =

Since:

  • File available since Release 1.0.0

true
KINSHIPS_AS_SIBLING =

Distance for finding sibling nodes In kinships().

Since:

  • File available since Release 1.0.0

0
KINSHIPS_AS_COUSIN =

Distance for finding cousin nodes In kinships().

Since:

  • File available since Release 1.0.0

1
KINSHIPS_SAME_LEVEL =

Same level to find kinships. (such as siblings, cousins.)

Since:

  • File available since Release 1.0.0

0
KINSHIPS_PARENT_LEVEL =

Upper level to find kinships. (such as aunts|uncles)

Since:

  • File available since Release 1.0.0

-1  # Upper level to find kinships. (such as aunts|uncles)
KINSHIPS_CHILD_LEVEL =

Lower level to find kinships. (such as niblings.)

Since:

  • File available since Release 1.0.0

1
PRUNE_DESCENDANTS_ONLY =

Since:

  • File available since Release 1.0.0

false
PRUNE_WITH_TOP_NODE =

Since:

  • File available since Release 1.0.0

true
ORDER_BY_QUEUE_INDEX =

Since:

  • File available since Release 1.0.0

false
ORDER_BY_DEPTH_INDEX =

Since:

  • File available since Release 1.0.0

true
QUEUE_DEFAULT_INTERVAL =

recommended queue interval for sprouting node QUEUE_DEFAULT_INTERVAL = 3 QUEUE_MAX_VALUE = 15

Since:

  • File available since Release 1.0.0

0x8000
QUEUE_MAX_VALUE =

2147483647

Since:

  • File available since Release 1.0.0

0x7fffffff
SPROUT_VACANT_QUEUE_KEY =

result to scoot over

Since:

  • File available since Release 1.0.0

:vacant_queue
EVENIZE_AFFECTED_ROWS_KEY =

new queue to sprout

Since:

  • File available since Release 1.0.0

:affected_rows
@@errors =

number of scooted over nodes

Since:

  • File available since Release 1.0.0

[
  append_empty_column:       'When has grove field, must set this fields.',
  append_can_not_scoot_over: 'No space to append at queue, and can not scoots over.',
  append_base_node_is_null:  'Not found base node to append.',
  restructure_empty_column:     'When has grove field, must set this fields.',
  restructure_defferent_groves: 'Defferent groves.',
  restructure_graft_into_own:   'Graft into own subtree.',
  restructure_are_not_siblings: 'Exists not sibling.',
]