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

⟦51f4c0762⟧ TextFile

    Length: 1378 (0x562)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

generic
    type Element is private;
package Binary_Tree is
    type Object is private;
    type Under_Tree is (Left, Right);
    Empty_Tree : constant Object;  
    procedure Copy (From : in Object; To : in out Object);
    procedure Clear (The_Tree : in out Object);
    procedure Build (The_Element : in Element;
                     The_Tree : in out Object;
                     The_Under_Tree : in Under_Tree);
    procedure Put_The_Element (The_Tree : in out Object;
                               The_Element : in Element);
    procedure Exchange_Under_Tree (The_Under_Tree : in Under_Tree;
                                   From : in out Object;
                                   To : in out Object);
    function Is_Equal (Left : in Object; Right : in Object) return Boolean;
    function Element_Of (The_Tree : in Object) return Element;
    function Is_Empty (The_Tree : in Object) return Boolean;
    function Under_Tree_Of
                (The_Tree : in Object; The_Under_Tree : in Under_Tree)
                return Object;
    Overflow : exception;
    Empty_Tree_Error : exception;
private
    type Node;
    type Object is access Node;
    Empty_Tree : constant Object := null;
    type Node is
        record
            The_Element : Element;
            Under_Tree_Left : Object;
            Under_Tree_Right : Object;
        end record;
end Binary_Tree;