Public Member Functions | Private Attributes | List of all members
cartographer::mapping::TrajectoryConnectivityState Class Reference

#include <trajectory_connectivity_state.h>

Public Member Functions

void Add (int trajectory_id)
 
std::vector< std::vector< int > > Components () const
 
void Connect (int trajectory_id_a, int trajectory_id_b, common::Time time)
 
common::Time LastConnectionTime (int trajectory_id_a, int trajectory_id_b)
 
TrajectoryConnectivityStateoperator= (const TrajectoryConnectivityState &)=delete
 
 TrajectoryConnectivityState ()
 
 TrajectoryConnectivityState (const TrajectoryConnectivityState &)=delete
 
bool TransitivelyConnected (int trajectory_id_a, int trajectory_id_b) const
 

Private Attributes

ConnectedComponents connected_components_
 
std::map< std::pair< int, int >, common::Timelast_connection_time_map_
 

Detailed Description

Definition at line 31 of file trajectory_connectivity_state.h.

Constructor & Destructor Documentation

◆ TrajectoryConnectivityState() [1/2]

cartographer::mapping::TrajectoryConnectivityState::TrajectoryConnectivityState ( )
inline

Definition at line 33 of file trajectory_connectivity_state.h.

◆ TrajectoryConnectivityState() [2/2]

cartographer::mapping::TrajectoryConnectivityState::TrajectoryConnectivityState ( const TrajectoryConnectivityState )
delete

Member Function Documentation

◆ Add()

void cartographer::mapping::TrajectoryConnectivityState::Add ( int  trajectory_id)

Definition at line 22 of file trajectory_connectivity_state.cc.

◆ Components()

std::vector< std::vector< int > > cartographer::mapping::TrajectoryConnectivityState::Components ( ) const

Definition at line 63 of file trajectory_connectivity_state.cc.

◆ Connect()

void cartographer::mapping::TrajectoryConnectivityState::Connect ( int  trajectory_id_a,
int  trajectory_id_b,
common::Time  time 
)

Definition at line 26 of file trajectory_connectivity_state.cc.

◆ LastConnectionTime()

common::Time cartographer::mapping::TrajectoryConnectivityState::LastConnectionTime ( int  trajectory_id_a,
int  trajectory_id_b 
)

Definition at line 67 of file trajectory_connectivity_state.cc.

◆ operator=()

TrajectoryConnectivityState& cartographer::mapping::TrajectoryConnectivityState::operator= ( const TrajectoryConnectivityState )
delete

◆ TransitivelyConnected()

bool cartographer::mapping::TrajectoryConnectivityState::TransitivelyConnected ( int  trajectory_id_a,
int  trajectory_id_b 
) const

Definition at line 57 of file trajectory_connectivity_state.cc.

Member Data Documentation

◆ connected_components_

ConnectedComponents cartographer::mapping::TrajectoryConnectivityState::connected_components_
mutableprivate

Definition at line 64 of file trajectory_connectivity_state.h.

◆ last_connection_time_map_

std::map<std::pair<int, int>, common::Time> cartographer::mapping::TrajectoryConnectivityState::last_connection_time_map_
private

Definition at line 71 of file trajectory_connectivity_state.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59