9 #ifndef IMPBFF_PATHMAPTILE_H
10 #define IMPBFF_PATHMAPTILE_H
12 #include <IMP/bff/bff_config.h>
21 IMPBFF_BEGIN_NAMESPACE
23 const bool TILE_VISITED_DEFAULT =
false;
24 const float TILE_PENALTY_DEFAULT = 100000.0f;
25 const float TILE_COST_DEFAULT = 100000.0f;
26 const float TILE_EDGE_COST_DEFAULT = 100000.0f;
28 const float TILE_PENALTY_THRESHOLD = 100000.0f;
29 const float TILE_OBSTACLE_THRESHOLD = 0.000001f;
30 const float TILE_OBSTACLE_PENALTY = 100000.0f;
74 std::vector<PathMapTile> &tiles,
75 double neighbor_radius,
76 float tile_penalty_threshold = TILE_PENALTY_THRESHOLD
89 int nx,
int ny,
int nz,
90 std::vector<PathMapTile>& tiles,
91 std::vector<int> neighbor_idxs,
92 float tile_penalty_threshold =TILE_PENALTY_THRESHOLD
106 std::map<std::string, float> features;
109 std::vector<PathMapTileEdge> edges;
135 float visit_penalty = 0.0,
136 float tile_density = 1.0
139 penalty(visit_penalty),
140 cost(std::numeric_limits<float>::max()),
142 density(tile_density)
150 std::vector<long> backtrack_to_path();
172 std::pair<float, float> bounds = std::pair<float, float>(
173 {std::numeric_limits<float>::min(),
174 std::numeric_limits<float>::max()}),
175 const std::string &feature_name=
"",
176 float grid_spacing = 1.0
186 void set_value(
int value_type,
float value,
const std::string &name=
"");
193 #endif //IMPBFF_PATHMAPTILE_H
Threshold path length and write tile weights.
Threshold path length and write tile weights.
Class to search path on grids.
Tile edges used in path search by PathMap.
Density that is accessible (Path length in bounds)
PathMapTileOutputs
Value types that can be read from a PathMapTile.
PathMapTile(long index=-1, float visit_penalty=0.0, float tile_density=1.0)
Construct an accessible volume tile.
Threshold path length and write tile weights.