DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <project.h>
Public Member Functions | |
void | create_graph (const int Nv, const int Ng, T *weights, mwSize *var_ir, mwSize *var_jc) |
void | create_graph (const int Nv, const int Ng, T *weights, mwSize *gv_ir, mwSize *gv_jc, mwSize *gg_ir, mwSize *gg_jc) |
T | dual_norm_inf (const Vector< T > &input, const Vector< T > &weights) |
Graph () | |
void | init_split_variables (SpMatrix< T > &splitted_w) |
T | norm (const T *variables, T *work, const T *weights, const bool linf=true) |
void | print () |
void | proximal_operator (const T *variables_in, T *variables_out, const bool clever=false, const T *weights=NULL) |
void | reset_flow () |
void | restore_capacities () |
void | restore_flow () |
void | save_capacities () |
void | save_flow () |
void | scale_flow (const T scal) |
void | set_weights (const T lambda) |
void | set_weights (const T *weights, const T lambda) |
void | sub_gradient (const Vector< T > &input, Vector< T > &output, const Vector< T > &weights) |
~Graph () | |
Private Attributes | |
MaxFlow< T > * | _maxflow |
int | _Ng |
int | _Nv |
T * | _weights |
spams::Graph< T >::Graph | ( | ) |
spams::Graph< T >::~Graph | ( | ) |
|
inline |
Definition at line 1946 of file project.h.
References spams::MaxFlow< T >::add_edge(), and INFINITY.
|
inline |
Definition at line 1981 of file project.h.
References spams::MaxFlow< T >::add_edge(), and INFINITY.
|
inline |
Definition at line 2033 of file project.h.
References spams::List< T >::begin(), spams::List< T >::end(), EPSILON_MAXFLOW, MAX, spams::num_gap_relabels, spams::num_global_relabels, spams::num_relabels, spams::Vector< T >::rawX(), spams::List< T >::size(), and spams::Timer::start().
Referenced by spams::FISTA::GraphLasso< T >::fenchel().
|
inline |
Definition at line 1919 of file project.h.
Referenced by spams::FISTA::GraphLasso< T >::init_split_variables().
|
inline |
Definition at line 1914 of file project.h.
References spams::Tree_Seq< T >::dual_norm_inf().
Referenced by spams::FISTA::GraphLasso< T >::eval().
|
inline |
|
inline |
At this point, the vector _maxflow->_seen is set to true.
At this point, the vector _maxflow->_seen is set to true for all nodes not in component
Definition at line 2105 of file project.h.
References EPSILON_MAXFLOW, MAX, spams::num_gap_relabels, spams::num_global_relabels, spams::num_relabels, PRINT_I, spams::Timer::printElapsed(), spams::Timer::reset(), spams::List< T >::size(), spams::Timer::start(), and spams::Timer::stop().
|
inline |
Definition at line 1906 of file project.h.
Referenced by spams::FISTA::GraphLasso< T >::fenchel().
|
inline |
Definition at line 1903 of file project.h.
Referenced by spams::FISTA::GraphLasso< T >::eval(), and spams::FISTA::GraphLasso< T >::fenchel().
|
inline |
Definition at line 1905 of file project.h.
Referenced by spams::FISTA::GraphLasso< T >::fenchel().
|
inline |
|
inline |
Definition at line 1904 of file project.h.
Referenced by spams::FISTA::GraphLasso< T >::fenchel().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |