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: ┃ T V

⟦387739c82⟧ TextFile

    Length: 2154 (0x86a)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Fact;
with Null_Action;
with Output_Stream;
use Fact;
generic
    type Rule_Bundles is (<>);
    Max_Rules                      : in Positive := 50;  
    Max_Condition_Elements_By_Rule : in Positive := 10;
    Max_Condition_Elements         : in Positive := 200;
package Generic_Rule_Base is

    subtype Rule_Id is Natural;
    No_Rule : constant Rule_Id := 0;

    function  Count             return Natural;
    procedure Put (R : Rule_Id; Where : Output_Stream.Object);
    function  Get (R : Rule_Id) return Rule_Bundles;
    function  Firable_On_Facts  return Fact.Collection;
    function  Firable_On_Rule   return Rule_Id;

    Illegal_Bundle  : exception;
    Illegal_Rule_Id : exception;
    Overflow        : exception;

    generic
        The_Bundle : Rule_Bundles;

        type Rule_Names is (<>);

        Nothing : Rule_Names := Rule_Names'Last;

        Rule_1    : Rule_Names := Nothing;
        Name_1    : String     := Rule_Names'Image (Rule_1);
        Premiss_1 : Queries    := Null_Premiss;
        with procedure Action_1 (On : Fact.Collection) is Null_Action;

        Rule_2    : Rule_Names := Nothing;
        Name_2    : String     := Rule_Names'Image (Rule_2);
        Premiss_2 : Queries    := Null_Premiss;
        with procedure Action_2 (On : Fact.Collection) is Null_Action;

        Rule_3    : Rule_Names := Nothing;
        Name_3    : String     := Rule_Names'Image (Rule_3);
        Premiss_3 : Queries    := Null_Premiss;
        with procedure Action_3 (On : Fact.Collection) is Null_Action;

        Rule_4    : Rule_Names := Nothing;
        Name_4    : String     := Rule_Names'Image (Rule_4);
        Premiss_4 : Queries    := Null_Premiss;
        with procedure Action_4 (On : Fact.Collection) is Null_Action;

        Rule_5    : Rule_Names := Nothing;
        Name_5    : String     := Rule_Names'Image (Rule_5);
        Premiss_5 : Queries    := Null_Premiss;
        with procedure Action_5 (On : Fact.Collection) is Null_Action;

    package Generic_Rule_Bundle is
        procedure Do_Action (For_Rule : Rule_Id; On_Facts : Fact.Collection);
    end Generic_Rule_Bundle;
end Generic_Rule_Base;