DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <project.h>
Public Member Functions | |
T | eval_conv (const T *variables, List< Path< Int > * > *decomposition=NULL) |
T | eval_dual_norm (const T *variables, list_int *path_out=NULL) |
T | eval_l0 (const T *variables, List< Path< Int > * > *decomposition=NULL) |
GraphPath () | |
void | init_graph (const GraphPathStruct< T > &graph) |
int | n () const |
void | proximal_conv (T *variables, const T lambda) |
void | proximal_l0 (T *variables, const T lambda) |
~GraphPath () | |
Protected Member Functions | |
void | flow_decomposition (List< Path< Int > * > &decomposition) const |
void | scale_costs (const T lambda) |
Private Attributes | |
Int | _big_integer |
T | _graphprecision |
Int | _infinite_capacity |
T * | _init_start_weights |
T * | _init_stop_weights |
T * | _init_weights |
int | _m |
T | _maxsf |
MinCostFlow< Int > * | _min_cost_flow |
int | _n |
T | _sf |
|
inline |
|
inline |
T spams::GraphPath< T, Int >::eval_conv | ( | const T * | variables, |
List< Path< Int > * > * | decomposition = NULL |
||
) |
T spams::GraphPath< T, Int >::eval_dual_norm | ( | const T * | variables, |
list_int * | path_out = NULL |
||
) |
Definition at line 3270 of file project.h.
References spams::List< T >::begin(), spams::List< T >::clear(), spams::List< T >::end(), and spams::List< T >::fusion().
T spams::GraphPath< T, Int >::eval_l0 | ( | const T * | variables, |
List< Path< Int > * > * | decomposition = NULL |
||
) |
|
protected |
Definition at line 3383 of file project.h.
References spams::List< T >::push_back().
void spams::GraphPath< T, Int >::init_graph | ( | const GraphPathStruct< T > & | graph | ) |
Definition at line 3151 of file project.h.
References spams::Vector< T >::fmaxval(), spams::GraphPathStruct< T >::ir, spams::GraphPathStruct< T >::jc, spams::GraphPathStruct< T >::m, MAX, utl::max(), MIN, spams::GraphPathStruct< T >::n, spams::GraphPathStruct< T >::precision, spams::GraphPathStruct< T >::start_weights, spams::GraphPathStruct< T >::stop_weights, and spams::GraphPathStruct< T >::weights.
|
inline |
void spams::GraphPath< T, Int >::proximal_conv | ( | T * | variables, |
const T | lambda | ||
) |
void spams::GraphPath< T, Int >::proximal_l0 | ( | T * | variables, |
const T | lambda | ||
) |
|
protected |
Definition at line 3399 of file project.h.
References spams::Vector< T >::fmaxval(), MAX, and MIN.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |