Apollo
10.0
自动驾驶开放平台
multi_hm_bipartite_graph_matcher.h
浏览该文件的文档.
1
/******************************************************************************
2
* Copyright 2018 The Apollo Authors. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*****************************************************************************/
16
#pragma once
17
18
#include <string>
19
#include <vector>
20
21
#include "
modules/perception/common/algorithm/graph/gated_hungarian_bigraph_matcher.h
"
22
#include "
modules/perception/common/algorithm/graph/secure_matrix.h
"
23
#include "
modules/perception/lidar_tracking/interface/base_bipartite_graph_matcher.h
"
24
25
namespace
apollo
{
26
namespace
perception {
27
namespace
lidar {
28
29
class
MultiHmBipartiteGraphMatcher
:
public
BaseBipartiteGraphMatcher
{
30
public
:
31
MultiHmBipartiteGraphMatcher
();
32
~MultiHmBipartiteGraphMatcher
();
33
42
void
Match
(
const
BipartiteGraphMatcherOptions
&options,
43
std::vector<NodeNodePair> *assignments,
44
std::vector<size_t> *unassigned_rows,
45
std::vector<size_t> *unassigned_cols);
51
std::string
Name
()
const
{
return
"MultiHmBipartiteGraphMatcher"
; }
52
53
protected
:
54
algorithm::GatedHungarianMatcher<float>
optimizer_
;
55
};
// class MultiHmObjectMatcher
56
57
}
// namespace lidar
58
}
// namespace perception
59
}
// namespace apollo
apollo::perception::algorithm::GatedHungarianMatcher
Definition
gated_hungarian_bigraph_matcher.h:35
apollo::perception::lidar::BaseBipartiteGraphMatcher
Definition
base_bipartite_graph_matcher.h:43
apollo::perception::lidar::MultiHmBipartiteGraphMatcher
Definition
multi_hm_bipartite_graph_matcher.h:29
apollo::perception::lidar::MultiHmBipartiteGraphMatcher::~MultiHmBipartiteGraphMatcher
~MultiHmBipartiteGraphMatcher()
Definition
multi_hm_bipartite_graph_matcher.cc:30
apollo::perception::lidar::MultiHmBipartiteGraphMatcher::MultiHmBipartiteGraphMatcher
MultiHmBipartiteGraphMatcher()
Definition
multi_hm_bipartite_graph_matcher.cc:26
apollo::perception::lidar::MultiHmBipartiteGraphMatcher::Match
void Match(const BipartiteGraphMatcherOptions &options, std::vector< NodeNodePair > *assignments, std::vector< size_t > *unassigned_rows, std::vector< size_t > *unassigned_cols)
Match interface
Definition
multi_hm_bipartite_graph_matcher.cc:34
apollo::perception::lidar::MultiHmBipartiteGraphMatcher::optimizer_
algorithm::GatedHungarianMatcher< float > optimizer_
Definition
multi_hm_bipartite_graph_matcher.h:54
apollo::perception::lidar::MultiHmBipartiteGraphMatcher::Name
std::string Name() const
Get class name
Definition
multi_hm_bipartite_graph_matcher.h:51
gated_hungarian_bigraph_matcher.h
base_bipartite_graph_matcher.h
apollo
class register implement
Definition
arena_queue.h:37
secure_matrix.h
apollo::perception::lidar::BipartiteGraphMatcherOptions
Definition
base_bipartite_graph_matcher.h:38
modules
perception
lidar_tracking
tracker
association
multi_hm_bipartite_graph_matcher.h