|
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 - download
Length: 4096 (0x1000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Holds_Object_Ceil_Rule, seg_03c2d1, separate Mb_Rules_For_Goal_Type_Holds
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Mb_Rules_For_Goal_Type_Holds) package body Holds_Object_Ceil_Rule is function Premiss return Fact_Queries is use Alias; begin return ((Goal.Exist ((Status => Is_Equal (Active), Goal_Type => Is_Equal (Goal_Holds), Object_Name => Define_As (O), To => Is_Any)), Phys_Object.Exist ((Object_Name => Is_Equal (O), Location => Define_As (P), Weight => Is_Equal (Light), On => Is_Equal (Ceiling))), Phys_Object.Exist ((Object_Name => Is_Equal (Ladder), Location => Is_Equal (P), Weight => Is_Any, On => Is_Equal (Floor))), Monkey.Exist ((On => Is_Equal (Ladder), Location => Is_Any, Holds => Is_Equal (No_Object))), Phys_Object.Absent ((Object_Name | Location | Weight => Is_Any, On => Is_Equal (O))))); end Premiss; procedure Action (Objects : Fact_Collection) is The_Goal : Fact_Name renames Objects (1); The_Phys_Object : Fact_Name renames Objects (2); The_Monkey : Fact_Name renames Objects (4); The_Phys_Object_Name : Slot.Object := Phys_Object.Get (The_Phys_Object, Object_Name); begin New_Line (Standard_Output); New_Line (Standard_Output); Put ("Grab ", Standard_Output); Put_Line (Image (The_Phys_Object_Name), Standard_Output); Goal.Change (The_Goal, Status, Satisfied); Monkey.Change (The_Monkey, Holds, The_Phys_Object_Name); Phys_Object.Change (The_Phys_Object, On, No_Object); end Action; end Holds_Object_Ceil_Rule;
nblk1=3 nid=0 hdr6=6 [0x00] rec0=16 rec1=00 rec2=01 rec3=030 [0x01] rec0=17 rec1=00 rec2=02 rec3=080 [0x02] rec0=04 rec1=00 rec2=03 rec3=000 tail 0x2173a475285814bcc8fe8 0x42a00088462063c03