Revision 0b6591e2
Added get outbound edges to navigation map file
scout/libscout/src/behaviors/navigationMap.cpp | ||
---|---|---|
98 | 98 |
return curr_state; |
99 | 99 |
} |
100 | 100 |
|
101 |
navigationMap::get_outbound_edges(State state) |
|
102 |
{ |
|
103 |
return map(state-1); |
|
104 |
} |
|
105 |
|
|
101 | 106 |
navigationMap::shortest_path(State target_state) |
102 | 107 |
{ |
103 | 108 |
// BFS algorithm |
Also available in: Unified diff