#include <ros/assert.h>
#include <cstdio>
#include <sstream>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <sys/time.h>
#include <log4cxx/logger.h>
#include <boost/static_assert.hpp>
#include <cassert>
#include <cstdlib>
#include <boost/foreach.hpp>
#include <map>
#include <set>
Go to the source code of this file.
Namespaces | |
namespace | graph_mapping_utils |
Functions | |
template<class Key , class Container > | |
bool | graph_mapping_utils::contains (const Container &container, const Key &key) |
template<class K , class V , class C , class A > | |
const V & | graph_mapping_utils::keyValue (const std::map< K, V, C, A > &m, const K &key) |
template<class T > | |
std::set< T > | graph_mapping_utils::sampleSubset (const std::set< T > &s, const int n) |
Sample a subset of set s of size n. |
General purpose utilities
Definition in file general.h.