package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

include LogtkIndex.TERM_IDX with type elt = X.t
type t
type elt = X.t
module Leaf : LogtkIndex.LEAF with type elt = elt
val name : string
val empty : unit -> t
val is_empty : t -> bool
val size : t -> int
val add : t -> LogtkIndex.term -> elt -> t
val remove : t -> LogtkIndex.term -> elt -> t
val iter : t -> (LogtkIndex.term -> elt -> unit) -> unit
val fold : t -> ('a -> LogtkIndex.term -> elt -> 'a) -> 'a -> 'a
val retrieve_unifiables : ?subst:LogtkIndex.subst -> t -> LogtkIndex.scope -> LogtkIndex.term -> LogtkIndex.scope -> 'a -> ('a -> LogtkIndex.term -> elt -> LogtkIndex.subst -> 'a) -> 'a
val retrieve_generalizations : ?allow_open:bool -> ?subst:LogtkIndex.subst -> t -> LogtkIndex.scope -> LogtkIndex.term -> LogtkIndex.scope -> 'a -> ('a -> LogtkIndex.term -> elt -> LogtkIndex.subst -> 'a) -> 'a
val retrieve_specializations : ?allow_open:bool -> ?subst:LogtkIndex.subst -> t -> LogtkIndex.scope -> LogtkIndex.term -> LogtkIndex.scope -> 'a -> ('a -> LogtkIndex.term -> elt -> LogtkIndex.subst -> 'a) -> 'a
val to_dot : (Buffer.t -> elt -> unit) -> Buffer.t -> t -> unit

print oneself in DOT into the given file

val default_fp : fingerprint_fun
val empty_with : fingerprint_fun -> t

Empty index, using the given fingerprint function

val get_fingerprint : t -> fingerprint_fun
OCaml

Innovation. Community. Security.