GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
BACKTRACKING_NODE_AND_LIST
+
Point of view
All features
ANY
All features
class BACKTRACKING_NODE_AND_LIST
Summary
top
Node for a sequence of list of nodes
Direct parents
Inherit list:
BACKTRACKING_NODE_LIST
Class invariant
top
node_not_void:
node /= Void
Overview
top
Creation features
Features
{
ANY
}
explore
(explorer:
BACKTRACKING
)
That feature must update the state of 'explorer'.
{}
do_fill_tagged_out_memory
{
ANY
}
node
:
BACKTRACKING_NODE
first node of the list
next
: BACKTRACKING_NODE_AND_LIST
remaining of the list
make
(nod:
BACKTRACKING_NODE
, nxt: BACKTRACKING_NODE_AND_LIST)
set_node
(value:
BACKTRACKING_NODE
)
set_next
(value: BACKTRACKING_NODE_AND_LIST)
{
ANY
}
fill_tagged_out_memory
Append a viewable information in
tagged_out_memory
in order to affect the behavior of
out
,
tagged_out
, etc.
{}
fill_tagged_out_memory_flag
:
BOOLEAN
explore
(explorer:
BACKTRACKING
)
effective procedure
{
ANY
}
top
That feature must update the state of 'explorer'.
do_fill_tagged_out_memory
effective procedure
{}
top
node
:
BACKTRACKING_NODE
writable attribute
{
ANY
}
top
first node of the list
next
: BACKTRACKING_NODE_AND_LIST
writable attribute
{
ANY
}
top
remaining of the list
make
(nod:
BACKTRACKING_NODE
, nxt: BACKTRACKING_NODE_AND_LIST)
effective procedure
{
ANY
}
top
require
value_not_void:
nod /= Void
ensure
definition:
node
= nod and
next
= nxt
node_not_void:
node
/= Void
set_node
(value:
BACKTRACKING_NODE
)
effective procedure
{
ANY
}
top
require
value_not_void:
value /= Void
ensure
definition:
node
= value
node_not_void:
node
/= Void
set_next
(value: BACKTRACKING_NODE_AND_LIST)
effective procedure
{
ANY
}
top
ensure
definition:
next
= value
fill_tagged_out_memory
effective procedure
{
ANY
}
top
Append a viewable information in
tagged_out_memory
in order to affect the behavior of
out
,
tagged_out
, etc.
require
locked:
tagged_out_locked
ensure
still_locked:
tagged_out_locked
fill_tagged_out_memory_flag
:
BOOLEAN
writable attribute
{}
top