Eclipse SUMO - Simulation of Urban MObility
FullLookupTable< E, V > Class Template Reference

#include <AStarLookupTable.h>

Inheritance diagram for FullLookupTable< E, V >:
[legend]
Collaboration diagram for FullLookupTable< E, V >:
[legend]

Public Member Functions

bool consistent () const
 whether the heuristic ist consistent (found nodes are always visited on the shortest path the first time) More...
 
 FullLookupTable (const std::string &filename, const int size)
 
double lowerBound (const E *from, const E *to, double, double speedFactor, double, double) const
 provide a lower bound on the distance between from and to (excluding traveltime of both edges) More...
 
virtual ~FullLookupTable ()
 

Private Attributes

std::vector< std::vector< double > > myTable
 

Detailed Description

template<class E, class V>
class FullLookupTable< E, V >

Definition at line 73 of file AStarLookupTable.h.

Constructor & Destructor Documentation

◆ FullLookupTable()

template<class E , class V >
FullLookupTable< E, V >::FullLookupTable ( const std::string &  filename,
const int  size 
)
inline

Definition at line 75 of file AStarLookupTable.h.

References FullLookupTable< E, V >::myTable.

◆ ~FullLookupTable()

template<class E , class V >
virtual FullLookupTable< E, V >::~FullLookupTable ( )
inlinevirtual

Definition at line 87 of file AStarLookupTable.h.

Member Function Documentation

◆ consistent()

template<class E , class V >
bool FullLookupTable< E, V >::consistent ( ) const
inlinevirtual

whether the heuristic ist consistent (found nodes are always visited on the shortest path the first time)

Implements AbstractLookupTable< E, V >.

Definition at line 94 of file AStarLookupTable.h.

◆ lowerBound()

template<class E , class V >
double FullLookupTable< E, V >::lowerBound ( const E *  from,
const E *  to,
double  speed,
double  speedFactor,
double  fromEffort,
double  toEffort 
) const
inlinevirtual

provide a lower bound on the distance between from and to (excluding traveltime of both edges)

Implements AbstractLookupTable< E, V >.

Definition at line 90 of file AStarLookupTable.h.

References FullLookupTable< E, V >::myTable.

Field Documentation

◆ myTable

template<class E , class V >
std::vector<std::vector<double> > FullLookupTable< E, V >::myTable
private

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