src/UCRDTW_memory_parallel.cpp
/// Initial the queue at the begining step of envelop calculation
Initial the queue at the begining step of envelop calculation
Initial the queue at the begining step of envelop calculation
void init(deque *d, int capacity)
{
    d->capacity = capacity;
    d->size = 0;
    d->dq = (int *)malloc(sizeof(int) * d->capacity);
    d->f = 0;
    d->r = d->capacity - 1;
}
void init ( deque * d , int capacity ) { d -> capacity = capacity ; d -> size = 0 ; d -> dq = ( int * ) malloc ( sizeof ( int ) * d -> capacity ) ; d -> f = 0 ; d -> r = d -> capacity - 1 ; }
Initial the queue at the begining step of envelop calculation
Initial the queue at the begining step of envelop calculation