The recursive function to calculate continuous NKDE likelihood cv
a cpp pointer function (selected with the kernel name)
a numeric vector of the actual kernel values, updated at each recursion
a List, giving for each node an IntegerVector with its neighbours
matrix, to find the id of each edge given two neighbours.
the actual node to consider for the recursion (int)
the connected node to consider for the recursion (int)
the edge connecting v and v1 (int)
the actual distance traveled before the recursion
the actual alpha value before the recursion
the kernel bandwidth
a vector with the length of the edges
the actual recursion depth
the maximum recursion depth
a vector with the kernel values calculated for each samples from the first node given