|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body A_Brick_Exist_On_Heap_Rule, seg_04b346, separate Bgrb2_Rule_Bundle
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Bgrb_Working_Memory;
separate (Bgrb2_Rule_Bundle)
package body A_Brick_Exist_On_Heap_Rule is
use Bgrb2_Frames;
use Fact_Base;
function Premiss return Fact_Queries is
begin
return
(Bricks.Exist
((Size => Predicate.System_Defined_Predicate.Is_Any,
Place =>
Predicate.System_Defined_Predicate.Is_Equal (On_Heap))),
-- Robots.absent
-- ((Action =>
-- Predicate.System_Defined_Predicate.Is_Equal (Taking),
-- Working =>
-- Predicate.System_Defined_Predicate.Is_Equal (No),
-- Identifier => Predicate.System_Defined_Predicate.Is_Any))
-- Cette clause est mauvaise dans le cas ou il y a + de bricks "on heap"
-- que de box, car les robots sont "delete" et donc cette clause est vraie
-- meme quand c'est "normallement" finie.
Robots.Exist
((Action => Predicate.System_Defined_Predicate.Is_Any,
Working => Predicate.System_Defined_Predicate.Is_Equal (Yes),
Identifier => Predicate.System_Defined_Predicate.Is_Any)),
Robots.Exist
((Action => Predicate.System_Defined_Predicate.Is_Any,
Working => Predicate.System_Defined_Predicate.Is_Equal (Yes),
Identifier => Predicate.System_Defined_Predicate.Is_Any)),
Robots.Exist
((Action => Predicate.System_Defined_Predicate.Is_Any,
Working => Predicate.System_Defined_Predicate.Is_Equal (Yes),
Identifier => Predicate.System_Defined_Predicate.Is_Any)));
end Premiss;
procedure Action (Objects : Fact_Collection) is
On_Screen : Output_Stream.Object := Output_Stream.Standard_Output;
begin
Output_Stream.New_Line (On_Screen);
Output_Stream.Put_Line
(" --------------------------------------------------------------",
On_Screen);
Output_Stream.Put_Line
(" -- WAITING --",
On_Screen);
Output_Stream.Put_Line
(" --------------------------------------------------------------",
On_Screen);
--Output_Stream.Put_Line ("THE FACT BASE IS NOW :",
-- Output_Stream.Standard_Output);
--Bgrb_Working_Memory.Put_All (Output_Stream.Standard_Output);
--Output_Stream.New_Line (Output_Stream.Standard_Output);
--Output_Stream.New_Line (Output_Stream.Standard_Output);
Output_Stream.New_Line (On_Screen);
end Action;
end A_Brick_Exist_On_Heap_Rule;
nblk1=4
nid=3
hdr6=6
[0x00] rec0=19 rec1=00 rec2=01 rec3=00c
[0x01] rec0=15 rec1=00 rec2=04 rec3=030
[0x02] rec0=14 rec1=00 rec2=02 rec3=000
[0x03] rec0=01 rec1=00 rec2=03 rec3=000
tail 0x2174fea58867c39503429 0x42a00088462063c03
Free Block Chain:
0x3: 0000 00 00 00 03 00 00 00 00 00 00 00 00 00 08 00 00 ┆ ┆