KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
kjb::bbb::Trajectory_prior Class Reference

#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 Vectorstart_mean () const
 Get the start mean. More...
 
const Vectorend_mean () const
 Get the end mean. More...
 
const Activity_librarylibrary () 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...
 

Detailed Description

Class represents the prior of a physical activity trajectory.

Constructor & Destructor Documentation

kjb::bbb::Trajectory_prior::Trajectory_prior ( size_t  dim,
const Activity_library lib 
)
inline

Crate a trajectory prior.

Parameters
dimThe dimension of the trajectory

Member Function Documentation

size_t kjb::bbb::Trajectory_prior::dimension ( ) const
inline

Get the dimensionality of the trajectories of this prior.

size_t kjb::bbb::Trajectory_prior::end ( ) const
inline

Get the end time of the prior.

const Vector& kjb::bbb::Trajectory_prior::end_mean ( ) const
inline

Get the end mean.

const Activity_library& kjb::bbb::Trajectory_prior::library ( ) const
inline

Get activity library.

const std::string& kjb::bbb::Trajectory_prior::name ( ) const
inline

Get the activity name of the prior.

double kjb::bbb::Trajectory_prior::operator() ( const Trajectory traj) const
inline

Evaluate this prior on a trajectory.

void kjb::bbb::Trajectory_prior::set_end ( size_t  end)
inline

Set the end time.

void kjb::bbb::Trajectory_prior::set_endpoint_means ( const Vector mu_s,
const Vector mu_e 
)
inline

Set the endpoint means.

void kjb::bbb::Trajectory_prior::set_name ( const std::string &  name)
inline

Set the activity name.

void kjb::bbb::Trajectory_prior::set_start ( size_t  start)
inline

Set the start time.

size_t kjb::bbb::Trajectory_prior::start ( ) const
inline

Get the start time of the prior.

const Vector& kjb::bbb::Trajectory_prior::start_mean ( ) const
inline

Get the start mean.

Friends And Related Function Documentation

Trajectory sample ( const Trajectory_prior prior)
friend

Draw a sample (a Trajectory) from a trajectory prior.


The documentation for this class was generated from the following files: