|  | DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes | 
This is an automatic "excavation" of a thematic subset of
 See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. | 
top - metrics - downloadIndex: B T
    Length: 2162 (0x872)
    Types: TextFile
    Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦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⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─⟦129cab021⟧ »DATA« 
        └─⟦e24fb53b7⟧ 
            └─⟦this⟧ 
with Condition;
with Fact;
with Many_Objects;
with Many_Objects_Frames;
use Condition;
use Fact;
use Many_Objects_Frames;
package body Many_Objects_Rules is
    Max_Objects   : constant := 30;
    Max_Iteration : constant := 100;
    type Rule_Names is (Create_Object, Search_Object, Iterate, No_More);
    -------------------------------------------------------------------------------
    package Create_Object_Rule is
        function  Premiss return Join_Descriptor;
        procedure Action (The_Facts : Fact.Collection);
    end Create_Object_Rule;
    package body Create_Object_Rule is separate;
    -------------------------------------------------------------------------------
    package Search_Object_Rule is
        function  Premiss return Join_Descriptor;
        procedure Action (The_Facts : Fact.Collection);
    end Search_Object_Rule;
    package body Search_Object_Rule is separate;
    -------------------------------------------------------------------------------
    package Iterate_Rule is
        function  Premiss return Join_Descriptor;
        procedure Action (The_Facts : Fact.Collection);
    end Iterate_Rule;
    package body Iterate_Rule is separate;
    -------------------------------------------------------------------------------
    package Rule_Bundle is  
       new Many_Objects.Rule_Base.Generic_Rule_Bundle
              (The_Bundle => Many_Objects.Many_Objects_Rules,
               Rule_Names => Rule_Names,
               Nothing    => Rule_Names'(No_More),
               Rule_1     => Create_Object,
               Premiss_1  => Create_Object_Rule.Premiss,
               Action_1   => Create_Object_Rule.Action,
               Rule_2     => Search_Object,
               Premiss_2  => Search_Object_Rule.Premiss,
               Action_2   => Search_Object_Rule.Action,
               Rule_3     => Iterate,
               Premiss_3  => Iterate_Rule.Premiss,
               Action_3   => Iterate_Rule.Action);
    procedure Do_Action (For_Rule : Rule_Id; On_Facts : Fact.Collection) is
    begin
        Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;
end Many_Objects_Rules;