GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
BACKTRACKING_POOL_OF_ALTERNATIVE
+
Point of view
All features
ANY
ABSTRACT_BACKTRACKING_POOL
ABSTRACT_BACKTRACKING
BACKTRACKING
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
{
ANY
}
get_fresh_instance
:
BACKTRACKING_ALTERNATIVE
Returns a freshly created instance.
{
ANY
}
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
{
ANY
}
top
Returns a freshly created instance.
get_instance
: X_
effective function
{
ANY
}
top
Returns an instance from the current pool.
ensure
result_not_void:
Result /= Void
release_instance
(inst: X_)
effective procedure
{
ANY
}
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
{
ANY
}
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