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
Constant Summary collapse
- ROOT_DEPTH =
consts used in Table and Entity
0- APPEND_BASE_ID_FIELD =
:ff_base_id- APPEND_NODE_RELATION_AS_LAST_CHILD =
-1
- APPEND_NODE_RELATION_AS_ELDER_SIBLING =
false- ANCESTOR_ONLY_PARENT =
1- ANCESTOR_ONLY_ROOT =
-1
- ANCESTOR_ALL =
0- DESCENDANTS_ALL =
0- DESCENDANTS_ONLY_CHILD =
1- SUBTREE_WITHOUT_TOP_NODE =
false- SUBTREE_WITH_TOP_NODE =
true- KINSHIPS_AS_SIBLING =
Distance for finding sibling nodes In kinships().
0- KINSHIPS_AS_COUSIN =
Distance for finding cousin nodes In kinships().
1- KINSHIPS_SAME_LEVEL =
Same level to find kinships. (such as siblings, cousins.)
0- KINSHIPS_PARENT_LEVEL =
Upper level to find kinships. (such as aunts|uncles)
-1 # Upper level to find kinships. (such as aunts|uncles)
- KINSHIPS_CHILD_LEVEL =
Lower level to find kinships. (such as niblings.)
1- PRUNE_DESCENDANTS_ONLY =
false- PRUNE_WITH_TOP_NODE =
true- ORDER_BY_QUEUE_INDEX =
false- ORDER_BY_DEPTH_INDEX =
true- QUEUE_DEFAULT_INTERVAL =
recommended queue interval for sprouting node QUEUE_DEFAULT_INTERVAL = 3 QUEUE_MAX_VALUE = 15
0x8000- QUEUE_MAX_VALUE =
2147483647
0x7fffffff- SPROUT_VACANT_QUEUE_KEY =
result to scoot over
:vacant_queue- EVENIZE_AFFECTED_ROWS_KEY =
new queue to sprout
:affected_rows- @@errors =
number of scooted over nodes
[ 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.', ]