Classes | Functions | Variables
grid-map.cpp File Reference
#include "gridmap/grid-map.h"
#include "gridmap/grid-functors.h"
#include "ros/time.h"
#include <cassert>
#include <cstdlib>
#include <algorithm>
#include <queue>
#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include <deque>
#include <set>
#include <limits>
#include <stdexcept>
Include dependency graph for grid-map.cpp:

Go to the source code of this file.

Classes

class  UniquePairsMultiMap< Key, Value >

Functions

float binaryEntropy (const GridMap::Value v)
static float gaussianRand (float mean, float sigm)
 Return a random number with a gaussian distribution of a certain mean and standard deviation.
static GridMap::Vector getRandomPoint (const GridMap::Label &area, const int resolution)
static float uniformRand (void)
 Return a number in [0;1[ in a uniform distribution.

Variables

static const int lookupMap4 [][2]
static const int lookupMap8 [][2]

Function Documentation

float binaryEntropy ( const GridMap::Value  v) [inline]

Definition at line 1087 of file grid-map.cpp.

static float gaussianRand ( float  mean,
float  sigm 
) [static]

Return a random number with a gaussian distribution of a certain mean and standard deviation.

Definition at line 856 of file grid-map.cpp.

static GridMap::Vector getRandomPoint ( const GridMap::Label area,
const int  resolution 
) [static]

Definition at line 878 of file grid-map.cpp.

static float uniformRand ( void  ) [static]

Return a number in [0;1[ in a uniform distribution.

Definition at line 849 of file grid-map.cpp.


Variable Documentation

const int lookupMap4[][2] [static]
Initial value:
 {
        { 0, -1 },              
        { -1, 0 },              
        { 1, 0 },               
        { 0, 1 },               
}

Definition at line 599 of file grid-map.cpp.

const int lookupMap8[][2] [static]
Initial value:
 {
        { -1, -1 },
        { 0, -1 },
        { 1, -1 },
        { -1, 0 },
        { 1, 0 },
        { -1, 1 },
        { 0, 1 },
        { 1, 1 },
}

Definition at line 588 of file grid-map.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


gridmap
Author(s): Stéphane Magnenat
autogenerated on Tue Nov 20 2012 16:28:24