signature DEBUG structure Debug : DEBUG
A structure that prints debug information according to a specified debug level.
import signature DEBUG from "x-alice:/lib/gecode/search-factory/DEBUG-sig" import structure Debug from "x-alice:/lib/gecode/search-factory/Debug"
signature DEBUG = sig type db_mask = Word31.t infix && infix || val && : db_mask * db_mask -> db_mask val || : db_mask * db_mask -> db_mask val newDB : unit -> db_mask val dbExc : db_mask val dbRecomp : db_mask val dbClone : db_mask val dbBaB : db_mask val dbSearch : db_mask val dbSlow : db_mask val dbZero : db_mask val dbNone : db_mask val dbAll : db_mask val localPrint : (string -> unit) ref val dbPrint : db_mask * db_mask * string -> unit end
The type of debug masks (a word).
Returns a mask equal to the logical and operation on masks. Note that if you want to have a mask containing two masks m1 and m2, you have to use || instead.
Returns a mask equal to the logical or operation on masks. Use this operator to combine two masks.
Returns a new mask.
A mask for printing exceptions.
A mask for printing information related to recomputation.
A mask for printing information related to cloning of constraint spaces.
A mask for printing information related to Branch & Bound.
A mask for printing information related to search.
A mask that considerably slows down the search (a 800 millisecond pause is inserted between each node).
The empty mask (no bit active).
The full mask (all bits active).
A reference to the function used to print stuff. By default, contains print.
Prints the given message (using !localPrint) only if mask1 || mask2 is not empty.