The worker function to calculate simple TNKDE likelihood cv (adaptive case)
a cube with the impact of the event v on each other event for each pair of bandwidths (cube(bws_net, bws_time, events))
a cpp pointer function (selected with the kernel name)
matrix, to find the id of each edge given two neighbours.
a NumericVector indicating the nodes in the graph being events
a NumericVector indicating the timestamp of each event
a List, giving for each node an IntegerVector with its neighbours
the actual node to consider (int)
the time of v (double)
an arma::mat with the network bandwidths to consider
an arma::mat with the time bandwidths to consider
a vector with the length of the edges
the actual recursion depth
the maximum recursion depth