25 namespace perception {
43 void Init(
const float initial_threshold);
51 void SegmentGraph(
const int num_vertices,
const int num_edges,
Edge* edges,
52 bool need_sort =
true);
60 static const size_t kMaxVerticesNum = 10000;
61 static const size_t kMaxThresholdsNum = 50000;
62 float initial_threshold_ = 0.f;
63 std::vector<float> thresholds_;
64 std::vector<float> thresholds_table_;
const Universe & universe()
Definition: graph_segmentor.h:57
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
int a
Definition: graph_segmentor.h:31
int b
Definition: graph_segmentor.h:32
Definition: graph_segmentor.h:29
Definition: graph_segmentor.h:37
bool operator<(const Edge &other) const
Definition: graph_segmentor.h:34
bool Init(const char *binary_name)
Definition: disjoint_set.h:28
float w
Definition: graph_segmentor.h:30
Universe * mutable_universe()
Definition: graph_segmentor.h:55