class BACKTRACKING_ALTERNATIVE
Summary
A single node alternative.
Direct parents
Inherit list: ABSTRACT_BACKTRACKING_ALTERNATIVE
Insert list: BACKTRACKING_GLOBALS
Overview
Features
{BACKTRACKING}
{ABSTRACT_BACKTRACKING}
{ABSTRACT_BACKTRACKING_POOL, ABSTRACT_BACKTRACKING}
{ABSTRACT_BACKTRACKING}
{ANY}
  • release
    Called by ABSTRACT_BACKTRACKING to release current instance to the pool.
  • get_twin: BACKTRACKING_ALTERNATIVE
    Return a twin of current from the pool
  • pool: ABSTRACT_BACKTRACKING_POOL[BACKTRACKING_ALTERNATIVE]
    The pool that will record Current
{ABSTRACT_BACKTRACKING_POOL}
the pools
{ANY}
writable attribute
next alternate node
set_next (value: BACKTRACKING_NODE)
effective procedure
next_alternative (explorer: BACKTRACKING)
effective procedure
Called by ABSTRACT_BACKTRACKING to let the current object switch to the next alternative to explore.
For the linked stack of alternatives.
writable attribute
The sequence to continue after a success in exploration of the current alternative.
set_continuation (value: ABSTRACT_BACKTRACKING_SEQUENCE)
effective procedure
writable attribute
Record of the top of the stack of sequence to restore the state of the exploration after that all alternatives were explored.
set_top_sequence (value: ABSTRACT_BACKTRACKING_SEQUENCE)
effective procedure
release
effective procedure
{ANY}
Called by ABSTRACT_BACKTRACKING to release current instance to the pool.
get_twin: BACKTRACKING_ALTERNATIVE
effective function
{ANY}
Return a twin of current from the pool
pool: ABSTRACT_BACKTRACKING_POOL[BACKTRACKING_ALTERNATIVE]
deferred function
{ANY}
The pool that will record Current
Internal link used by the pool to chain its poolable items.
set_pool_link (other: ABSTRACT_BACKTRACKING_POOLABLE)
effective procedure
Set 'pool_link' to 'other'
once function
{ANY}
pool_of_sequence_list: BACKTRACKING_POOL_OF_SEQUENCE_LIST
once function
{ANY}
pool_of_alternative: BACKTRACKING_POOL_OF_ALTERNATIVE
once function
{ANY}
pool_of_alternative_list: BACKTRACKING_POOL_OF_ALTERNATIVE_LIST
once function
{ANY}