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

⟦abd34788c⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Bgrb2_Test, seg_04b34c

Derivation

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

E3 Source Code



with Bgrb2_Working_Memory;
with Output_Stream;
with Bgrb2_Kbs;
with Bgrb2_Rule_Bundle;
with Bgrb2_Physical_Robots;
with Bgrb2_Frames;

use Bgrb2_Rule_Bundle;
use Bgrb2_Kbs;

procedure Bgrb2_Test is

    use Kbs;
    Inference_Had_Succeded : Boolean := True;


    function Br_Infere is new Rule_Base.One_Inference_With_Conflict_Set
                                 (Retrieve => Retrieve, Do_Action => Do_Action);


begin  
    Bgrb2_Working_Memory.Load_Initial;
    Output_Stream.Put ("The fact base is :", Output_Stream.Standard_Output);
    Bgrb2_Working_Memory.Put_All (Output_Stream.Standard_Output);
    Output_Stream.New_Line (Output_Stream.Standard_Output);
    Output_Stream.New_Line (Output_Stream.Standard_Output);

    while Inference_Had_Succeded loop

        Output_Stream.Put_Line ("update des robots",
                                Output_Stream.Standard_Output);
        Bgrb2_Frames.Robots_Server.Update;
        Output_Stream.Put_Line ("update des bricks",
                                Output_Stream.Standard_Output);
        Bgrb2_Frames.Bricks_Server.Update;
        Output_Stream.Put_Line ("update des boxes",
                                Output_Stream.Standard_Output);
        Bgrb2_Frames.Boxes_Server.Update;
        Output_Stream.Put_Line ("fin des update",
                                Output_Stream.Standard_Output);

        Output_Stream.Put_Line ("THE FACT BASE IS NOW :",
                                Output_Stream.Standard_Output);
        Bgrb2_Working_Memory.Put_All (Output_Stream.Standard_Output);
        Output_Stream.New_Line (Output_Stream.Standard_Output);
        Output_Stream.New_Line (Output_Stream.Standard_Output);
        Inference_Had_Succeded := Br_Infere;

    end loop;

    Output_Stream.Put_Line ("THE FACT BASE IS NOW :",
                            Output_Stream.Standard_Output);
    Bgrb2_Working_Memory.Put_All (Output_Stream.Standard_Output);
    Output_Stream.New_Line (Output_Stream.Standard_Output);
    Output_Stream.New_Line (Output_Stream.Standard_Output);
end Bgrb2_Test;

E3 Meta Data

    nblk1=4
    nid=3
    hdr6=6
        [0x00] rec0=22 rec1=00 rec2=01 rec3=032
        [0x01] rec0=15 rec1=00 rec2=02 rec3=00c
        [0x02] rec0=03 rec1=00 rec2=04 rec3=000
        [0x03] rec0=04 rec1=ec rec2=b0 rec3=242
    tail 0x2174fe294867b71d11f5a 0x42a00088462063c03
Free Block Chain:
  0x3: 0000  00 00 00 7b 80 26 5f 4c 69 6e 65 20 28 4f 75 74  ┆   { &_Line (Out┆