|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Quadrant3_Dec_Down_Rule, seg_04c84e, separate Qualit_Generic_Agent_1.Qualit_Epsilon_Rule_Bundle
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
separate (Qualit_Generic_Agent_1.Qualit_Epsilon_Rule_Bundle)
package body Quadrant3_Dec_Down_Rule is
function Premiss return Fact_Queries is
use Qualit_Frames;
use Slot;
use Slot.Operators;
begin
return (Updates.Exist ((Valid => Is_Equal (False_Boolean))),
Epsilons.Exist ((Value =>
Is_Greater (Null_Value) and
Is_Less_Or_Equal (Epsilon_Near_0))),
Predictions.Absent ((Quadrant_Number => Is_Any,
Prediction_Name => Is_Any)),
Down_Values.Exist ((Value => Is_Any)),
Down_Decrements.Exist ((Value => Is_Any)));
end Premiss;
procedure Action (Objects : Fact_Collection) is
use Qualit_Frames;
use Slot;
use Slot.Operators;
The_Update_Fact : Fact_Name renames Objects (1);
The_Down_Value_Fact : Fact_Name renames Objects (4);
The_Down_Decrement_Fact : Fact_Name renames Objects (5);
The_Down_Value : Slot.Object :=
Down_Values.Get (The_Down_Value_Fact, Value);
The_Down_Decrement : Slot.Object :=
Down_Decrements.Get (The_Down_Decrement_Fact, Value);
begin
Updates.Change (The_Update_Fact, Valid, True_Boolean);
The_Down_Value := The_Down_Value - The_Down_Decrement;
if The_Down_Value < Dec_Min then
The_Down_Value := Dec_Min;
end if;
Down_Values.Change (The_Down_Value_Fact, Value, The_Down_Value);
Predictions.Add
((Quadrant_Number => Value (3),
Prediction_Name =>
Epsilon_Variation_Should_Decrease_Prediction_Name));
end Action;
end Quadrant3_Dec_Down_Rule;
nblk1=4
nid=4
hdr6=4
[0x00] rec0=1c rec1=00 rec2=01 rec3=030
[0x01] rec0=15 rec1=00 rec2=02 rec3=000
[0x02] rec0=16 rec1=00 rec2=04 rec3=018
[0x03] rec0=0b rec1=00 rec2=03 rec3=000
tail 0x21752d34e86b275e9cf13 0x42a00088462063c03
Free Block Chain:
0x4: 0000 00 03 03 fc 80 26 74 20 20 20 20 20 3a 20 46 61 ┆ &t : Fa┆
0x3: 0000 00 00 01 3e 80 03 69 66 3b 03 00 48 20 20 20 20 ┆ > if; H ┆