Module type ClauseQueue_intf.S
module C : Clause_intf.Smodule WeightFun : sig ... end
val length : t -> intNumber of elements
val is_empty : t -> boolcheck whether the queue is empty
val name : t -> stringName of the implementation/role of the queue
Available Queues
val make : ratio:int -> weight:(C.t -> int) -> string -> tBring your own implementation of queue.
- parameter ratio
pick-given ratio. One in
ratiocalls totake_first, the returned clause comes from a FIFO; the other times it comes from a priority queue that usesweightto sort clauses
- parameter name
the name of this clause queue
val bfs : unit -> tFIFO
val almost_bfs : unit -> tHalf FIFO, half default
val explore : unit -> tUse heuristics for selecting "small" clauses
val ground : unit -> tFavor positive unit clauses and ground clauses
val goal_oriented : unit -> tcustom weight function that favors clauses that are "close" to initial conjectures. It is fair.
val default : unit -> tObtain the default queue