g2o
Public Member Functions | List of all members
g2o::OptimizableGraph::VertexIDCompare Struct Reference

order vertices based on their ID More...

#include <optimizable_graph.h>

Public Member Functions

bool operator() (const Vertex *v1, const Vertex *v2) const
 

Detailed Description

order vertices based on their ID

Definition at line 82 of file optimizable_graph.h.

Member Function Documentation

bool g2o::OptimizableGraph::VertexIDCompare::operator() ( const Vertex v1,
const Vertex v2 
) const
inline

Definition at line 83 of file optimizable_graph.h.

References g2o::HyperGraph::Vertex::id().

84  {
85  return v1->id() < v2->id();
86  }

The documentation for this struct was generated from the following file: