|
|
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: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Moving_Guru_Rule, seg_02ae30, separate Towers_Of_Hanoi_Rules_For_Benchmark
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Text_Io;
separate (Towers_Of_Hanoi_Rules_For_Benchmark)
package body Moving_Guru_Rule is
function Premiss return Join_Descriptor is
The_Priority : constant Alias := Alias'(P);
begin
return (Movements.Exist ((Count => Is_Equal (1),
Priority => Say_It_Is (The_Priority),
From_Tower | To_Tower => Is_Any)),
Movements.Absent ((Priority => Is_Greater (The_Priority),
From_Tower | To_Tower | Count => Is_Any)));
end Premiss;
procedure Action (The_Facts : Fact.Collection) is
The_Movement : Fact.Name renames The_Facts (1);
begin
Movements.Delete (The_Movement);
end Action;
end Moving_Guru_Rule;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=19 rec1=00 rec2=01 rec3=000
tail 0x215232f2a83e583eb4f3f 0x42a00088462063c03