|
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 Hold_Biggest_Brick_Rule, seg_04a07b, seg_04a917, seg_04b387, separate Br_Rule_Bundle
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Br_Rule_Bundle) package body Hold_Biggest_Brick_Rule is function Premiss return Br_Kbs.Kbs.Fact_Queries is begin return (Br_Frames.Robots.Exist ((Br_Frames.Action => Br_Kbs.Kbs.Fact_Base.Predicate. System_Defined_Predicate.Is_Equal (Br_Frames.Taking_Action), Br_Frames.Box => Br_Kbs.Kbs.Fact_Base.Predicate. System_Defined_Predicate.Is_Any)), Br_Frames.Bricks.Exist ((Br_Frames.Name => Br_Kbs.Kbs.Fact_Base.Predicate. System_Defined_Predicate.Is_Any, Br_Frames.Size => Br_Kbs.Kbs.Fact_Base.Predicate. System_Defined_Predicate.Is_Any, Br_Frames.Place => Br_Kbs.Kbs.Fact_Base.Predicate. System_Defined_Predicate.Is_Equal (Br_Frames.In_Pliers_Place)))); end Premiss; procedure Action (Objects : Br_Kbs.Kbs.Fact_Collection) is The_Robot : Br_Kbs.Kbs.Fact_Name renames Objects (1); The_Brick_In_Pliers : Br_Kbs.Kbs.Fact_Name renames Objects (2); 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 (" -- THE ROBOT IS HOLDING THE BRICK --", On_Screen); Output_Stream.Put_Line (" --------------------------------------------------------", On_Screen); Output_Stream.New_Line (On_Screen); Br_Frames.Robots.Change (The_Robot, Br_Frames.Action, Br_Frames.Dropping_Action); Output_Stream.New_Line (On_Screen); Output_Stream.Put_Line ("THE ROBOT IS NOW : ", On_Screen); Br_Frames.Put (The_Robot, On_Screen); Output_Stream.New_Line (On_Screen); end Action; end Hold_Biggest_Brick_Rule;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=16 rec1=00 rec2=01 rec3=026 [0x01] rec0=18 rec1=00 rec2=02 rec3=05c [0x02] rec0=0b rec1=00 rec2=03 rec3=000 [0x03] rec0=05 rec1=00 rec2=04 rec3=000 tail 0x2174e82a8866964698438 0x42a00088462063c03 Free Block Chain: 0x4: 0000 00 00 00 08 80 02 65 3b 02 00 00 00 00 00 00 00 ┆ e; ┆