|
|
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: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Find_Closest_Inf_Rule, seg_039e70, seg_03b902, seg_03c05c, seg_03c47f, seg_03c626, seg_03c95b, seg_04a92d, seg_04b39d, separate Fqa_Bundle
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
separate (Fqa_Bundle)
package body Find_Closest_Inf_Rule is
function Premiss return Fact_Queries is
begin
return (Questions.Exist ((Number => Define_As (N))),
Answers.Absent ((Number => Is_Equal (N),
Value => Is_Any,
Erasable => Is_Any)),
Answers.Exist ((Number => Define_As (O) and Is_Less (N),
Value => Is_Any,
Erasable => Is_Any)),
Answers.Absent ((Number => Is_Greater (O) and Is_Less (N),
Value => Is_Any,
Erasable => Is_Any)));
end Premiss;
procedure Action (The_Facts : Fact_Collection) is
The_Answer : Fact_Name renames The_Facts (3);
The_Number : Integer := Slot.Get (Answers.Get (The_Answer, Number));
The_Value : Integer := Slot.Get (Answers.Get (The_Answer, Value));
Is_Erasable : Boolean := Slot.Get (Answers.Get (The_Answer, Erasable));
use Output_Stream;
begin
New_Line (Standard_Output);
New_Line (Standard_Output);
Put_Line ("---------- Find_Closest_Inf_Rule action ----------",
Standard_Output);
New_Line (Standard_Output);
if Is_Erasable then
Answers.Change (The_Answer, Number, Slot.Value (The_Number + 1));
Answers.Change (The_Answer, Value,
Slot.Value (The_Value * (The_Number + 1)));
else
Answers.Add ((Slot.Value (The_Number + 1),
Slot.Value (The_Value * (The_Number + 1)),
Slot.Value (True)));
end if;
end Action;
end Find_Closest_Inf_Rule;
nblk1=3
nid=2
hdr6=4
[0x00] rec0=1a rec1=00 rec2=01 rec3=05e
[0x01] rec0=14 rec1=00 rec2=03 rec3=001
[0x02] rec0=0b rec1=00 rec2=00 rec3=004
tail 0x217376b4484fd715cd0fa 0x42a00088462063c03
Free Block Chain:
0x2: 0000 00 00 03 fc 80 49 20 20 20 20 20 20 20 54 68 65 ┆ I The┆