libqe 0.2.5
QE C++ library
Loading...
Searching...
No Matches
trajectory_following.hpp File Reference

Who-follows-whom leader-follower turn lag analysis along shared timeline. More...

#include <armadillo>
#include <vector>
#include <cmath>
#include <algorithm>
#include <limits>

Go to the source code of this file.

Classes

struct  qe::SignedTurnLagResult
 Result of signed turn-lag sweep across delta in [-max_lag, max_lag]. More...
 

Namespaces

namespace  qe
 

Functions

std::pair< double, int > qe::signed_turn_lag_distance (const arma::mat &pts_a, const arma::mat &pts_b, const arma::vec &times_a, const arma::vec &times_b, int delta)
 Compute mean distance between agent A at turn T and agent B at turn T - delta.
 
SignedTurnLagResult qe::best_signed_turn_lag (const arma::mat &pts_a, const arma::mat &pts_b, const arma::vec &times_a, const arma::vec &times_b, int max_lag=15)
 Sweep signed turn lags in [-max_lag, max_lag] to determine leader-follower dynamics.
 

Detailed Description

Who-follows-whom leader-follower turn lag analysis along shared timeline.