Evaluation of criterion J
Evaluation of the criterion J to verify the convergence of the VEM algorithm
JEvalMstep(VE, mstep, data, directed, sparse, method = "hist")
VE
: Results of the previous VE for iterative computation
mstep
: Results of the previous mstep for iterative computation
data
: Data same of mainVEM
directed
: Boolean for directed (TRUE) or undirected (FALSE) case
sparse
: Boolean for sparse (TRUE) or not sparse (FALSE) case
method
: List of string. Can be "hist" for histogram method or "kernel" for kernel method