Public Member Functions | Private Attributes | List of all members
micros_swarm::CheckNeighbor Class Reference

#include <check_neighbor.h>

Inheritance diagram for micros_swarm::CheckNeighbor:
Inheritance graph
[legend]

Public Member Functions

 CheckNeighbor (const float &neighbor_distance)
 
float getNeighborDistance ()
 
bool isNeighbor (const Base &self, const Base &neighbor)
 

Private Attributes

const float & neighbor_distance_
 

Detailed Description

Definition at line 37 of file check_neighbor.h.

Constructor & Destructor Documentation

micros_swarm::CheckNeighbor::CheckNeighbor ( const float &  neighbor_distance)

Definition at line 27 of file check_neighbor.cpp.

Member Function Documentation

float micros_swarm::CheckNeighbor::getNeighborDistance ( )
virtual

Implements micros_swarm::CheckNeighborInterface.

Definition at line 29 of file check_neighbor.cpp.

bool micros_swarm::CheckNeighbor::isNeighbor ( const Base self,
const Base neighbor 
)
virtual

Implements micros_swarm::CheckNeighborInterface.

Definition at line 34 of file check_neighbor.cpp.

Member Data Documentation

const float& micros_swarm::CheckNeighbor::neighbor_distance_
private

Definition at line 43 of file check_neighbor.h.


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


micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06