home
wiki
classes/clusters list
class information
+
Point of view
All features
ANY
BACKTRACKING
ABSTRACT_BACKTRACKING
ABSTRACT_BACKTRACKING_POOL
INTERNALS_HANDLER
All features
class BACKTRACKING_POOL_OF_ALTERNATIVE
Summary
top
Pool of simple node alternatives
Direct parents
inherit list:
ABSTRACT_BACKTRACKING_POOL
Overview
top
creation features
features
get_fresh_instance
:
BACKTRACKING_ALTERNATIVE
Returns a freshly created instance.
get_instance
: X_
Returns an instance from the current pool.
release_instance
(inst: X_)
Records the instance 'inst' into the current pool.
clear
Removes all recorded instances from the current pool.
pool_of_instances
:
WEAK_REFERENCE
[X_]
Head of the recorded instances
make
creation
get_fresh_instance
:
BACKTRACKING_ALTERNATIVE
effective function
top
Returns a freshly created instance.
get_instance
: X_
effective function
top
Returns an instance from the current pool.
ensure
result_not_void:
Result /= Void
release_instance
(inst: X_)
effective procedure
top
Records the instance 'inst' into the current pool.
ensure
instance_on_top:
pool_of_instances
.item = inst
previous_top_chained:
inst.pool_link = old
pool_of_instances
.item
clear
effective procedure
top
Removes all recorded instances from the current pool.
pool_of_instances
:
WEAK_REFERENCE
[X_]
writable attribute
top
Head of the recorded instances
make
effective procedure
top
creation