Into

Modules

Documentation

classPiiCoordinateTrackerNode

#include <PiiCoordinateTrackerNode.h>

A trajectory node for PiiCoordinateTracker.

Inherits PiiTrackerTrajectoryNode< PiiVector< T, D >, PiiCoordinateTrackerNode< T, D > >

Description

Uses PiiVectors as measurements.

Classes

struct

A functor for sorting nodes in descending order based on the trajectory's fitness.

struct

A functor for sorting nodes in ascending order based on the trajectory's fitness.

Public types

typedef PiiVector< T, D >
typedef PiiCoordinateTrackerNode< T, D >

Constructors and destructor

Create a new node with all values initialized to zeros.

Copy constructor.

( )

Create a new trajectory node with the given measurement, time instant and next node in chain.

Deletes the prediction.

Public member functions

double

Get the fitness of the measurement stored in this trajectory node.

Get a pointer to the predicted next point in trajectory.

void
(
  • double fitness
)

Set the fitness of the measurement stored in this trajectory node.

void

Set the prediction.

void
(
  • double fitness
)

Set the fitness of the whole trajectory ending at this node.

double

Get the fitness of the whole trajectory ending at this node.

Function details

  • PiiCoordinateTrackerNode

    ( )
    [inline]

    Create a new node with all values initialized to zeros.

  • PiiCoordinateTrackerNode

    ( )
    [inline]

    Copy constructor.

  • PiiCoordinateTrackerNode

    ( )
    [inline]

    Create a new trajectory node with the given measurement, time instant and next node in chain.

    Parameters
    measurement

    the measurement

    t

    current time instant

    fitness

    the "fitness score" of the measurement, compared to the previous prediction.

    next

    the next node in chain

  • ~PiiCoordinateTrackerNode

    ()
    [inline]

    Deletes the prediction.

  • double measurementFitness

    ()
    [inline]

    Get the fitness of the measurement stored in this trajectory node.

  • MeasurementType * prediction

    ()
    [inline]

    Get a pointer to the predicted next point in trajectory.

    Returns

    the prediction or 0 if no prediction has been stored

  • void setMeasurementFitness

    (
    • double fitness
    )
    [inline]

    Set the fitness of the measurement stored in this trajectory node.

  • void setPrediction

    ( )
    [inline]

    Set the prediction.

    The node takes the ownership of prediction.

  • void setTrajectoryFitness

    (
    • double fitness
    )
    [inline]

    Set the fitness of the whole trajectory ending at this node.

  • double trajectoryFitness

    ()
    [inline]

    Get the fitness of the whole trajectory ending at this node.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.