home
wiki
classes/clusters list
class information
+
Point of view
ABSTRACT_BACKTRACKING_POOL
ANY
ABSTRACT_BACKTRACKING
ABSTRACT_BACKTRACKING_POOL
INTERNALS_HANDLER
All features
deferred class ABSTRACT_BACKTRACKING_ALTERNATIVE
Summary
top
Abstract realisation of an alternative iterator for the
ABSTRACT_BACKTRACKING
The
ABSTRACT_BACKTRACKING
uses the fields continuation and top_sequence to record its exploration state and calls the feature 'next_alternative' to let the current object choose how to continue the exploration.
Direct parents
inherit list:
ABSTRACT_BACKTRACKING_POOLABLE
Known children
inherit list:
BACKTRACKING_ALTERNATIVE
,
BACKTRACKING_ALTERNATIVE_LIST
Overview
top
exported features
previous
: ABSTRACT_BACKTRACKING_ALTERNATIVE
For the linked stack of alternatives.
release
Called by
ABSTRACT_BACKTRACKING
to release current instance to the pool.
get_twin
: ABSTRACT_BACKTRACKING_ALTERNATIVE
Return a twin of current from the pool
pool
:
ABSTRACT_BACKTRACKING_POOL
[ABSTRACT_BACKTRACKING_ALTERNATIVE]
The pool that will record Current
pool_link
:
ABSTRACT_BACKTRACKING_POOLABLE
Internal link used by the pool to chain its poolable items.
set_pool_link
(other:
ABSTRACT_BACKTRACKING_POOLABLE
)
Set 'pool_link' to 'other'
previous
: ABSTRACT_BACKTRACKING_ALTERNATIVE
writable attribute
top
For the linked stack of alternatives.
Managed by
ABSTRACT_BACKTRACKING
.
release
effective procedure
top
Called by
ABSTRACT_BACKTRACKING
to release current instance to the pool.
require
pool
/= Void
get_twin
: ABSTRACT_BACKTRACKING_ALTERNATIVE
effective function
top
Return a twin of current from the pool
require
pool
/= Void
ensure
Result.
is_equal
(Current)
pool
:
ABSTRACT_BACKTRACKING_POOL
[ABSTRACT_BACKTRACKING_ALTERNATIVE]
deferred function
top
The pool that will record Current
pool_link
:
ABSTRACT_BACKTRACKING_POOLABLE
writable attribute
top
Internal link used by the pool to chain its poolable items.
Technical note: to give more freedom for further usages of 'pool_link' it is not defined with type anchorage.
set_pool_link
(other:
ABSTRACT_BACKTRACKING_POOLABLE
)
effective procedure
top
Set 'pool_link' to 'other'
ensure
definition:
pool_link
= other