DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦a887c8907⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Find_Rectangle_Rule, package body R_Rule_Bundle, seg_03a926, seg_03b913, seg_03c08b, seg_03c4ae, seg_03c655, seg_03c98a, seg_04a961, seg_04b3cf

Derivation

└─⟦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⟧ 

E3 Source Code



with Alias;
with R_Frames;
with Output_Stream;
with Slot;
package body R_Rule_Bundle is

    use R_Kbs;
    use R_Kbs.Kbs;

    type Rule_Names is (Find_Rectangle, No_More);

---------------------------------------------------------------------------

    package Find_Rectangle_Rule is
        function  Premiss return Fact_Queries;
        procedure Action (Objects : Fact_Collection);
    end Find_Rectangle_Rule;
    package body Find_Rectangle_Rule is separate;


---------------------------------------------------------------------------
    package Rule_Bundle is new Rule_Base.Generic_Rule_Bundle
                                  (The_Bundle => R_Kbs.R_Rule_Bundle,
                                   Rule_Names => Rule_Names,
                                   Nothing    => Rule_Names'Last,

                                   Rule_1     => Find_Rectangle,
                                   Premiss_1  => Find_Rectangle_Rule.Premiss,
                                   Action_1   => Find_Rectangle_Rule.Action);


    procedure Do_Action (For_Rule : R_Kbs.Kbs.Rule_Id;
                         On_Facts : R_Kbs.Kbs.Fact_Collection) is
    begin
        Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;
end R_Rule_Bundle;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=016
        [0x01] rec0=09 rec1=00 rec2=02 rec3=001
    tail 0x2173801bc850a5c05c791 0x42a00088462063c03