DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 790 (0x316) Types: TextFile Names: »B«
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦this⟧
with Text_Io; separate (Towers_Of_Hanoi_Rules_For_Benchmark) package body Moving_Guru_Rule is function Premiss return Fact_Base.Queries is The_Priority : constant Alias := Alias'(P); begin return (Movements.Exist ((Count => Is_Equal (1), Priority => Define_As (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_Base.Collection) is The_Movement : Fact_Base.Object renames The_Facts (1); begin Movements.Delete (The_Movement); end Action; end Moving_Guru_Rule;