package lbvs_consent

  1. Overview
  2. Docs

Module Lbvs_consent.ConsensusSource

Sourcemodule Log = Dolog.Log
Sourcemodule Fp = Fingerprint
module IntMap = BatMap.Int
Sourcemodule IntSet = MyIntSet
module StringSet : sig ... end
module L = BatList
Sourcemodule Mol = Molecule
Sourcemodule Pol = Policy
Sourcetype t =
  1. | Single of Mol.t list * Fp.t list
  2. | Opportunist of Mol.t list * Fp.t list
  3. | Optimist_maccs of Mol.t list * Fp.t
  4. | Realist_maccs of Mol.t list * float array
  5. | Knowledgeable_maccs of Mol.t list * float array
  6. | Optimist_mop2d of Mol.t list * Fp.t
  7. | Realist_mop2d of Mol.t list * float IntMap.t
  8. | Knowledgeable_mop2d of Mol.t list * float IntMap.t
  9. | Optimist_ecfp4 of Mol.t list * Fp.t
  10. | Realist_ecfp4 of Mol.t list * float array
  11. | Knowledgeable_ecfp4 of Mol.t list * float array
Sourceval length : t -> int
Sourceval is_single : t -> bool
Sourceval to_policy : t -> Pol.t
Sourceval to_string : t -> string
Sourceval get_queries : t -> Mol.t list
Sourceval get_fprints : t -> Fp.t list
Sourceval get_fprint : t -> Fp.t
Sourceval get_query_names : t -> StringSet.t
Sourceval cons_score : t -> Fp.t -> float
Sourceval size : t -> int
Sourceval bit_frequency : Mol.t list -> float array
Sourceval int_frequency : Mol.t list -> float IntMap.t
Sourceval get_pot_scale : (string, 'a) Hashtbl.t -> string -> 'a
Sourceval pot_scaled_int_frequency : Mol.t list -> (string, float) Hashtbl.t -> float IntMap.t
Sourceval pot_scaled_bit_frequency : Mol.t list -> (string, float) Hashtbl.t -> float array
Sourceval debug_bit_cons : Bitv.t -> unit
Sourceval debug_freq_cons : float array -> unit
Sourceval logical_consensus : Pol.t -> Mol.t list -> t
Sourceval create : ?verbose:bool -> Pol.t -> Mol.t list -> t
OCaml

Innovation. Community. Security.