Public Member Functions | Protected Member Functions | Protected Attributes
global_planner::PotentialCalculator Class Reference

#include <potential_calculator.h>

Inheritance diagram for global_planner::PotentialCalculator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual float calculatePotential (float *potential, unsigned char cost, int n, float prev_potential=-1)
 PotentialCalculator (int nx, int ny)
virtual void setSize (int nx, int ny)
 Sets or resets the size of the map.

Protected Member Functions

int toIndex (int x, int y)

Protected Attributes

int ns_
int nx_
int ny_

Detailed Description

Definition at line 42 of file potential_calculator.h.


Constructor & Destructor Documentation

Definition at line 44 of file potential_calculator.h.


Member Function Documentation

virtual float global_planner::PotentialCalculator::calculatePotential ( float *  potential,
unsigned char  cost,
int  n,
float  prev_potential = -1 
) [inline, virtual]

Reimplemented in global_planner::QuadraticCalculator.

Definition at line 48 of file potential_calculator.h.

virtual void global_planner::PotentialCalculator::setSize ( int  nx,
int  ny 
) [inline, virtual]

Sets or resets the size of the map.

Parameters:
nxThe x size of the map
nyThe y size of the map sets or resets the size of the map

Definition at line 64 of file potential_calculator.h.

int global_planner::PotentialCalculator::toIndex ( int  x,
int  y 
) [inline, protected]

Definition at line 71 of file potential_calculator.h.


Member Data Documentation

size of grid, in pixels

Definition at line 75 of file potential_calculator.h.

Definition at line 75 of file potential_calculator.h.

Definition at line 75 of file potential_calculator.h.


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


global_planner
Author(s): David Lu!!
autogenerated on Thu Aug 27 2015 14:07:53