|
|
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: 9216 (0x2400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mb_Test_Rules_For_Goal_Type_On, package body On_Floor_Rule, package body On_Floor_Satisfied_Rule, package body On_Phys_Object_At_Monkey_Rule, package body On_Phys_Object_Hold_Rule, package body On_Phys_Object_Rule, package body On_Phys_Object_Satisfied_Rule, seg_03c42b, seg_03c4fb, seg_03c6a2, seg_03c9d7, seg_04a9ae, seg_04b41c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Alias;
with Mb_Kbs;
with Mb_Frames;
with Output_Stream;
with Slot;
use Mb_Kbs;
use Mb_Frames;
use Output_Stream;
package body Mb_Test_Rules_For_Goal_Type_On is
use Kbs;
use Kbs.Fact_Base.Predicate;
use Kbs.Fact_Base.Predicate.System_Defined_Predicate;
type Rule_Names is (On_Floor, On_Floor_Satisfied, On_Phys_Object,
On_Phys_Object_Hold, On_Phys_Object_At_Monkey,
On_Phys_Object_Satisfied, No_More);
---------------------------------------------------------------------------
package On_Floor_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Floor_Rule;
package body On_Floor_Rule is separate;
---------------------------------------------------------------------------
package On_Floor_Satisfied_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Floor_Satisfied_Rule;
package body On_Floor_Satisfied_Rule is separate;
---------------------------------------------------------------------------
package On_Phys_Object_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Phys_Object_Rule;
package body On_Phys_Object_Rule is separate;
---------------------------------------------------------------------------
package On_Phys_Object_Hold_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Phys_Object_Hold_Rule;
package body On_Phys_Object_Hold_Rule is separate;
---------------------------------------------------------------------------
package On_Phys_Object_At_Monkey_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Phys_Object_At_Monkey_Rule;
package body On_Phys_Object_At_Monkey_Rule is separate;
---------------------------------------------------------------------------
package On_Phys_Object_Satisfied_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end On_Phys_Object_Satisfied_Rule;
package body On_Phys_Object_Satisfied_Rule is separate;
---------------------------------------------------------------------------
package Rule_Bundle is
new Rule_Base.Generic_Rule_Bundle
(The_Bundle => Mb_Kbs.Test_Rules_For_Goal_Type_On_Bundle,
Rule_Names => Rule_Names,
Nothing => Rule_Names'Last,
Rule_1 => On_Floor,
Premiss_1 => On_Floor_Rule.Premiss,
Action_1 => On_Floor_Rule.Action,
Rule_2 => On_Floor_Satisfied,
Premiss_2 => On_Floor_Satisfied_Rule.Premiss,
Action_2 => On_Floor_Satisfied_Rule.Action,
Rule_3 => On_Phys_Object,
Premiss_3 => On_Phys_Object_Rule.Premiss,
Action_3 => On_Phys_Object_Rule.Action,
Rule_4 => On_Phys_Object_Hold,
Premiss_4 => On_Phys_Object_Hold_Rule.Premiss,
Action_4 => On_Phys_Object_Hold_Rule.Action,
Rule_5 => On_Phys_Object_At_Monkey,
Premiss_5 => On_Phys_Object_At_Monkey_Rule.Premiss,
Action_5 => On_Phys_Object_At_Monkey_Rule.Action,
Rule_6 => On_Phys_Object_Satisfied,
Premiss_6 => On_Phys_Object_Satisfied_Rule.Premiss,
Action_6 => On_Phys_Object_Satisfied_Rule.Action);
procedure Do_Action (For_Rule : Kbs.Rule_Id;
On_Facts : Kbs.Fact_Collection) is
begin
Rule_Bundle.Do_Action (For_Rule, On_Facts);
end Do_Action;
end Mb_Test_Rules_For_Goal_Type_On;
nblk1=8
nid=7
hdr6=c
[0x00] rec0=23 rec1=00 rec2=01 rec3=034
[0x01] rec0=00 rec1=00 rec2=03 rec3=004
[0x02] rec0=1c rec1=00 rec2=02 rec3=010
[0x03] rec0=1b rec1=00 rec2=04 rec3=050
[0x04] rec0=18 rec1=00 rec2=08 rec3=058
[0x05] rec0=03 rec1=00 rec2=06 rec3=000
[0x06] rec0=0b rec1=00 rec2=06 rec3=000
[0x07] rec0=0b rec1=00 rec2=06 rec3=001
tail 0x2173a552285817c354cec 0x42a00088462063c03
Free Block Chain:
0x7: 0000 00 05 00 1b 80 15 6c 65 73 5f 46 6f 72 5f 47 6f ┆ les_For_Go┆
0x5: 0000 00 00 00 04 80 01 3d 01 4f 6e 5f 50 68 79 73 5f ┆ = On_Phys_┆