SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
lapjv.cpp File Reference
#include "lapjv.h"
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <new>
Include dependency graph for lapjv.cpp:

Macros

#define LARGE   1000000
 
#define SWAP_INDICES(a, b)
 
#define NEW(x, t, n)
 
#define FREE(x)
 

Functions

int _ccrrt_dense (const unsigned int n, double *cost[], int *free_rows, int *x, int *y, double *v)
 
int _carr_dense (const unsigned int n, double *cost[], const unsigned int n_free_rows, int *free_rows, int *x, int *y, double *v)
 
unsigned int _find_dense (const unsigned int n, unsigned int lo, double *d, int *cols, int *y)
 
int _scan_dense (const unsigned int n, double *cost[], unsigned int *plo, unsigned int *phi, double *d, int *cols, int *pred, int *y, double *v)
 
int find_path_dense (const unsigned int n, double *cost[], const int start_i, int *y, double *v, int *pred)
 
int _ca_dense (const unsigned int n, double *cost[], const unsigned int n_free_rows, int *free_rows, int *x, int *y, double *v)
 
int lapjv_internal (const unsigned int n, double *cost[], int *x, int *y)
 

Macro Definition Documentation

◆ FREE

#define FREE (   x)
Value:
if (x != nullptr) { \
delete[] x; \
x = nullptr; \
}

◆ LARGE

#define LARGE   1000000

◆ NEW

#define NEW (   x,
  t,
 
)
Value:
if ((x = new t[n]) == nullptr) { \
return -1; \
}

◆ SWAP_INDICES

#define SWAP_INDICES (   a,
 
)
Value:
{ \
a = a ^ b; \
b = a ^ b; \
a = a ^ b; \
}

Function Documentation

◆ _ca_dense()

int _ca_dense ( const unsigned int  n,
double *  cost[],
const unsigned int  n_free_rows,
int *  free_rows,
int *  x,
int *  y,
double *  v 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _carr_dense()

int _carr_dense ( const unsigned int  n,
double *  cost[],
const unsigned int  n_free_rows,
int *  free_rows,
int *  x,
int *  y,
double *  v 
)
Here is the caller graph for this function:

◆ _ccrrt_dense()

int _ccrrt_dense ( const unsigned int  n,
double *  cost[],
int *  free_rows,
int *  x,
int *  y,
double *  v 
)
Here is the caller graph for this function:

◆ _find_dense()

unsigned int _find_dense ( const unsigned int  n,
unsigned int  lo,
double *  d,
int *  cols,
int *  y 
)
Here is the caller graph for this function:

◆ _scan_dense()

int _scan_dense ( const unsigned int  n,
double *  cost[],
unsigned int *  plo,
unsigned int *  phi,
double *  d,
int *  cols,
int *  pred,
int *  y,
double *  v 
)
Here is the caller graph for this function:

◆ find_path_dense()

int find_path_dense ( const unsigned int  n,
double *  cost[],
const int  start_i,
int *  y,
double *  v,
int *  pred 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lapjv_internal()

int lapjv_internal ( const unsigned int  n,
double *  cost[],
int *  x,
int *  y 
)
Here is the call graph for this function: