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

⟦52ed1d2fc⟧ TextFile

    Length: 961 (0x3c1)
    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 Constructeur is (<>);  
    type Item is private;

package Arbre_Abstrait is

    type Le_Type_Du_Noeud is (Feuille, Bourgeon);
    --type Noeud (D : Le_Type_Du_Noeud) is private;
    type Pnoeud is private;

    function Creer_Noeud
                (Nom : Constructeur;
                 Sous_Arbre_Gauche, Sous_Arbre_Droit : in Pnoeud) return Pnoeud;
    function Creer_Feuille (Nom : Constructeur; E : in Item) return Pnoeud;
    function Equivalent (S, T : Pnoeud) return Boolean;

private

    type Noeud (D : Le_Type_Du_Noeud);
    type Pnoeud is access Noeud;


    type Noeud (D : Le_Type_Du_Noeud) is
        record

            Nom : Constructeur;  
            Le_Type : Le_Type_Du_Noeud := D;
            case D is
                when Feuille =>
                    Valeur : Item;  
                when Bourgeon =>
                    Gauche, Droit : Pnoeud := null;
            end case;

        end record;

end Arbre_Abstrait;