Struct vlfeat_sys::_VlAIB [] [src]

#[repr(C)]
pub struct _VlAIB { pub nodes: *mut vl_uint, pub nentries: vl_uint, pub beta: *mut f64, pub bidx: *mut vl_uint, pub which: *mut vl_uint, pub nwhich: vl_uint, pub Pcx: *mut f64, pub Px: *mut f64, pub Pc: *mut f64, pub nvalues: vl_uint, pub nlabels: vl_uint, pub parents: *mut vl_uint, pub costs: *mut f64, pub verbosity: vl_uint, }

** @internal ** @brief AIB algorithm data ** ** The implementation is quite straightforward, but the way feature ** values are handled in order to support efficient joins, ** deletions and re-arrangement needs to be explained. This is ** achieved by adding a layer of indirection: ** - Call each feature value (either original or obtained by a join ** operation) a node. Nodes are identified by numbers. ** - Call each element of the various arrays (such as VlAIB::Px) ** an entry. ** - Entries are dynamically associated to nodes as specified by ** VlAIB::nodes. For example, @c Px[i] refers to the node @c ** nodes[i].

Fields

< Entires to nodes

< Total number of entries (= # active nodes)

< Minimum distance to an entry

< Closest entry

< List of entries to update

< Number of entries to update

< Joint probability table

< Marginal.

< Marginal.

< Number of feature values

< Number of labels

< Array of parents

< Cost of each merge

Trait Implementations

impl Debug for _VlAIB
[src]

Formats the value using the given formatter.

impl Copy for _VlAIB
[src]

impl Clone for _VlAIB
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more