|
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: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Rule_Instance, seg_03c0d6, separate Generic_Rule_Base
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Generic_Rule_Base) package body Rule_Instance is function "<" (Left, Right : Object) return Boolean is begin return Left.Size < Right.Size; end "<"; function Make (The_Rule_Id : Rule_Id; The_Fact_Collection : Fact_Collection) return Object is The_Size : Natural := The_Fact_Collection'Last - The_Fact_Collection'First + 1; begin return (Premiss_Size (The_Size), Rule_Id (The_Rule_Id), Fact_Collection (The_Fact_Collection)); end Make; function Get_Rule (From : Object) return Rule_Id is begin return From.The_Rule; end Get_Rule; function Get_Facts (From : Object) return Fact_Collection is begin return From.The_Facts; end Get_Facts; procedure Put (The_Instance : Object; Where : Output_Stream.Object) is use Output_Stream; begin Put_Line ("Rule_instance'(", Where); Indent_Right (Where); Put ("The_Rule =>", Where); Put (The_Instance.The_Rule, Where); Put_Line (',', Where); Put_Line ("The_facts =>", Where); Indent_Right (Where); Fact_Put (The_Instance.The_Facts (1 .. The_Instance.Size), Where); Indent_Left (Where); Indent_Left (Where); Put_Line (")", Where); end Put; end Rule_Instance;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=23 rec1=00 rec2=01 rec3=032 [0x01] rec0=12 rec1=00 rec2=02 rec3=001 tail 0x21739ecdc85718087309a 0x42a00088462063c03