GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
ABSTRACT_BACKTRACKING_ALTERNATIVE
+
Point of view
ANY
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
ABSTRACT_BACKTRACKING_POOL
ABSTRACT_BACKTRACKING
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
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
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