Helper for semi-supervised DTW clustering
class
xptr
: External pointer (C++ class). See corresponding file in src/utils/get_unseen_pair()
: Get a pair that is not contained in any graph, NULL means no unseen pairs left.initialize(max_size)
: Initialization of C++ helperlink(i, j, link_type)
: Link indices i and j. Link types: dont_know = -1, cannot_link = 0, must_link = 1. Returns TRUE if underlying graph is complete/complete/connected after insertion.