KJB
|
#include <bbb_trajectory_prior.h>
Public Member Functions | |
Trajectory_prior (size_t dim, const Activity_library &lib) | |
Crate a trajectory prior. More... | |
void | set_name (const std::string &name) |
Set the activity name. More... | |
void | set_start (size_t start) |
Set the start time. More... | |
void | set_end (size_t end) |
Set the end time. More... | |
void | set_endpoint_means (const Vector &mu_s, const Vector &mu_e) |
Set the endpoint means. More... | |
size_t | dimension () const |
Get the dimensionality of the trajectories of this prior. More... | |
const std::string & | name () const |
Get the activity name of the prior. More... | |
size_t | start () const |
Get the start time of the prior. More... | |
size_t | end () const |
Get the end time of the prior. More... | |
const Vector & | start_mean () const |
Get the start mean. More... | |
const Vector & | end_mean () const |
Get the end mean. More... | |
const Activity_library & | library () const |
Get activity library. More... | |
double | operator() (const Trajectory &traj) const |
Evaluate this prior on a trajectory. More... | |
Friends | |
Trajectory | sample (const Trajectory_prior &prior) |
Draw a sample (a Trajectory) from a trajectory prior. More... | |
Class represents the prior of a physical activity trajectory.
|
inline |
Crate a trajectory prior.
dim | The dimension of the trajectory |
|
inline |
Get the dimensionality of the trajectories of this prior.
|
inline |
Get the end time of the prior.
|
inline |
Get the end mean.
|
inline |
Get activity library.
|
inline |
Get the activity name of the prior.
|
inline |
Evaluate this prior on a trajectory.
|
inline |
Set the end time.
|
inline |
Set the endpoint means.
|
inline |
Set the activity name.
|
inline |
Set the start time.
|
inline |
Get the start time of the prior.
|
inline |
Get the start mean.
|
friend |
Draw a sample (a Trajectory) from a trajectory prior.