DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦eb0ed1425⟧ TextFile

    Length: 2282 (0x8ea)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Bbr_Attributes;
with Bbr_Kbs;
with Bbr_Frames;
with Output_Stream;

use Bbr_Kbs;
use Bbr_Attributes;
use Bbr_Frames;
use Output_Stream;
package body Bbr_Painting_Bundle is

    use Kbs;
    use Expression;
    use System_Defined_Expression;

    type Rule_Names is (Paint_The_Green_Robots_In_Blue,  
                        Paint_All_Boxes_In_Green,  
                        No_More);

    -------------------------------------------------------------------------------
    package Paint_The_Green_Robots_In_Blue_Rule is
        function  Premiss return Fact_Base.Queries;
        procedure Action (The_Facts : Fact_Base.Collection);
    end Paint_The_Green_Robots_In_Blue_Rule;

    package body Paint_The_Green_Robots_In_Blue_Rule is separate;

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

    package Paint_All_Boxes_In_Green_Rule is
        function  Premiss return Fact_Base.Queries;
        procedure Action (The_Facts : Fact_Base.Collection);
    end Paint_All_Boxes_In_Green_Rule;

    package body Paint_All_Boxes_In_Green_Rule is separate;

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

    -- package Rule_Bundle is
    --    new Kbs.Rule_Base.Generic_Rule_Bundle
    --           (The_Bundle => Bbr_Kbs.Bbr_Painting_Bundle,
    --            Rule_Names => Rule_Names,
    --            Nothing    => Rule_Names'(No_More),
    --
    --            Rule_1     => Paint_The_Green_Robots_In_Blue,
    --            Premiss_1  => Paint_The_Green_Robots_In_Blue_Rule.Premiss,
    --            Action_1   => Paint_The_Green_Robots_In_Blue_Rule.Action,
    --
    --            Rule_2     => Paint_All_Boxes_In_Green,
    --            Premiss_2  => Paint_All_Boxes_In_Green_Rule.Premiss,
    --            Action_2   => Paint_All_Boxes_In_Green_Rule.Action);
    --
    --
    procedure Do_Action (For_Rule : Kbs.Rule_Base.Rule_Id;
                         On_Facts : Kbs.Fact_Base.Collection) is
        Q : constant Fact_Base.Queries :=
           Paint_The_Green_Robots_In_Blue_Rule.Premiss;
        R : constant Fact_Base.Queries := Paint_All_Boxes_In_Green_Rule.Premiss;
    begin
        null; -- Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;

end Bbr_Painting_Bundle;