HOG2
abstraction
AbstractionSearchEnvironment.h
Go to the documentation of this file.
1
/*
2
* AbstractionSearchEnvironment.h
3
* hog
4
*
5
* Created by Nathan Sturtevant on 4/5/07.
6
* Copyright 2007 Nathan Sturtevant, University of Alberta. All rights reserved.
7
*
8
*/
9
10
#ifndef ABSTRACTIONSEARCHENVIRONMENT_H
11
#define ABSTRACTIONSEARCHENVIRONMENT_H
12
13
#include "
SearchEnvironment.h
"
14
#include "
GraphAbstraction.h
"
15
16
class
AbstractionSearchEnvironment
:
public
SearchEnvironment
17
{
18
public
:
19
AbstractionSearchEnvironment
(
GraphAbstraction
*_ga,
int
_level)
20
:
ga
(_ga),
level
(_level) { }
21
~AbstractionSearchEnvironment
() {}
22
void
getNeighbors
(uint32_t nodeID, std::vector<uint32_t> &neighbors);
23
double
heuristic
(uint32_t node1, uint32_t node2);
24
double
gcost
(uint32_t node1, uint32_t node2);
25
private
:
26
GraphAbstraction
*
ga
;
27
int
level
;
28
};
29
30
#endif
GraphAbstraction
A generic class for basic operations on Graph abstractions.
Definition:
GraphAbstraction.h:63
AbstractionSearchEnvironment::level
int level
Definition:
AbstractionSearchEnvironment.h:27
AbstractionSearchEnvironment::ga
GraphAbstraction * ga
Definition:
AbstractionSearchEnvironment.h:26
AbstractionSearchEnvironment::AbstractionSearchEnvironment
AbstractionSearchEnvironment(GraphAbstraction *_ga, int _level)
Definition:
AbstractionSearchEnvironment.h:19
AbstractionSearchEnvironment
Definition:
AbstractionSearchEnvironment.h:16
AbstractionSearchEnvironment::heuristic
double heuristic(uint32_t node1, uint32_t node2)
Definition:
AbstractionSearchEnvironment.cpp:24
AbstractionSearchEnvironment::gcost
double gcost(uint32_t node1, uint32_t node2)
Definition:
AbstractionSearchEnvironment.cpp:35
AbstractionSearchEnvironment::getNeighbors
void getNeighbors(uint32_t nodeID, std::vector< uint32_t > &neighbors)
Definition:
AbstractionSearchEnvironment.cpp:13
SearchEnvironment
Definition:
SearchEnvironment.h:30
SearchEnvironment.h
GraphAbstraction.h
AbstractionSearchEnvironment::~AbstractionSearchEnvironment
~AbstractionSearchEnvironment()
Definition:
AbstractionSearchEnvironment.h:21
Generated by
1.8.17