- goal : Aesop.GoalRef
- priority : Aesop.Percent
- lastExpandedInIteration : Aesop.Iteration
- addedInIteration : Aesop.Iteration
Instances For
def
Aesop.BestFirstQueue.ActiveGoal.le
(g : Aesop.BestFirstQueue.ActiveGoal)
(h : Aesop.BestFirstQueue.ActiveGoal)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.BestFirstQueue.init = Std.BinomialHeap.empty
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.BestFirstQueue.popGoal q = match Std.BinomialHeap.deleteMin q with | none => (none, q) | some (ag, q) => (some ag.goal, q)
Instances For
Equations
- Aesop.instQueueBestFirstQueue = { init := pure Aesop.BestFirstQueue.init, addGoals := Aesop.BestFirstQueue.addGoals, popGoal := fun q => pure (Aesop.BestFirstQueue.popGoal q) }
Equations
- Aesop.LIFOQueue.init = { goals := #[] }
Instances For
Equations
- Aesop.LIFOQueue.addGoals q grefs = { goals := q.goals ++ Array.reverse grefs }
Instances For
Equations
- Aesop.LIFOQueue.popGoal q = match Array.back? q.goals with | some g => (some g, { goals := Array.pop q.goals }) | none => (none, q)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.FIFOQueue.init = { goals := #[], pos := 0 }
Instances For
Equations
- Aesop.FIFOQueue.addGoals q grefs = { goals := q.goals ++ grefs, pos := q.pos }
Instances For
Equations
- Aesop.FIFOQueue.popGoal q = if h : q.pos < Array.size q.goals then (some q.goals[q.pos], { goals := q.goals, pos := q.pos + 1 }) else (none, q)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.