Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::spafdb::DistanceProximityStrategy Class Reference

This ProximityStrategy creates spafgraph::ProximitiesEdges between spafgraph::Node based on their distance. More...


Detailed Description

This ProximityStrategy creates spafgraph::ProximitiesEdges between spafgraph::Node based on their distance.

Definition at line 50 of file ProximityStrategy.hpp.

#include <ProximityStrategy.hpp>

Inheritance diagram for jafar::spafdb::DistanceProximityStrategy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DistanceProximityStrategy (double distance, int max)
virtual std::vector< const
spafgraph::EdgeProximity * > 
createProximitiesEdges (const SpafDB *_db, spafgraph::Node *node) const
 This function is called to create spafgraph::ProximitiesEdges between the node in argument, and other nodes in the data base.
virtual std::vector< const
spafgraph::EdgeProximity * > 
createProximitiesEdges (const std::list< spafgraph::Node * > &_nodes, spafgraph::Node *_node) const

Private Attributes

double m_distance
int m_max
SelectQueryProximitym_query

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:51 for Jafar by doxygen 1.7.6.1
LAAS-CNRS