DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦36ed3a82c⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Moving_Guru_Rule, seg_02a0de, separate Towers_Of_Hanoi_Rules_For_Benchmark

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Text_Io;

separate (Towers_Of_Hanoi_Rules_For_Benchmark)
package body Moving_Guru_Rule is

    function Premiss return Join_Descriptor is
        The_Priority : constant Alias := Alias'(P);
    begin
        return (Movements.Exist ((Count => Is_Equal (1),
                                  Priority => Say_It_Is (The_Priority),
                                  From_Tower | To_Tower => Is_Any)),

                Movements.Absent ((Priority => Is_Greater (The_Priority),
                                   From_Tower | To_Tower | Count => Is_Any)));
    end Premiss;

    procedure Action (The_Facts : Fact.Collection) is
        The_Movement : Fact.Name renames The_Facts (1);  
    begin
        Movements.Delete (The_Movement);
    end Action;

end Moving_Guru_Rule;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=2
        [0x00] rec0=19 rec1=00 rec2=01 rec3=000
        [0x01] rec0=16 rec1=00 rec2=04 rec3=000
        [0x02] rec0=16 rec1=00 rec2=04 rec3=028
        [0x03] rec0=0a rec1=00 rec2=02 rec3=000
    tail 0x215223ed283e1487386ba 0x42a00088462063c03
Free Block Chain:
  0x4: 0000  00 02 00 38 80 08 76 65 6d 65 6e 74 29 3b 08 00  ┆   8  vement);  ┆
  0x2: 0000  00 03 03 fc 80 39 68 65 5f 50 72 69 6f 72 69 74  ┆     9he_Priorit┆
  0x3: 0000  00 00 00 04 80 01 68 01 20 28 31 29 3b 07 00 32  ┆      h  (1);  2┆