Defines | Enumerations | Functions | Variables
vl_aib.c File Reference
#include <mexutils.h>
#include <vl/mathop.h>
#include <vl/aib.h>
#include <assert.h>
#include <string.h>
Include dependency graph for vl_aib.c:

Go to the source code of this file.

Defines

#define CLUSTER_NULL_NODES   1

Enumerations

enum  { opt_cluster_null = 0, opt_verbose }

Functions

static void cluster_null_nodes (vl_uint32 *parents, vl_uint32 nvalues, double *cost, int verbosity)
void mexFunction (int nout, mxArray *out[], int nin, const mxArray *in[])
 MEX entry point.

Variables

vlmxOption options []

Define Documentation

#define CLUSTER_NULL_NODES   1

Definition at line 36 of file vl_aib.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
opt_cluster_null 
opt_verbose 

Definition at line 24 of file vl_aib.c.


Function Documentation

static void cluster_null_nodes ( vl_uint32 parents,
vl_uint32  nvalues,
double *  cost,
int  verbosity 
) [static]

------------------------------------------------------------------

Null nodes are nodes with null probability and are not merged by AIB. It is convenient, however, to treat them as follows:

  • we pretend that AIB merged those nodes at the very beginning into a single cluster (as they, after all, yield zero information drop).
  • we attach this cluster to the root as the very last step (as we do not want to change other nodes.

Definition at line 52 of file vl_aib.c.

void mexFunction ( int nout  ,
mxArray *  out[],
int  nin,
const mxArray *  in[] 
)

MEX entry point.

------------------------------------------------------------------

Definition at line 192 of file vl_aib.c.


Variable Documentation

Initial value:
 {
  {"ClusterNull",0,   opt_cluster_null},
  {"Verbose",    0,   opt_verbose    },
  {0,            0,   0              }
}

Definition at line 30 of file vl_aib.c.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:52