2021-04-01 21:00:53 +02:00
|
|
|
// Copyright 2010-2021 Google LLC
|
2011-05-11 16:06:31 +00:00
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
|
//
|
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
//
|
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
2017-04-26 17:30:25 +02:00
|
|
|
#include "ortools/graph/linear_assignment.h"
|
2011-05-11 16:06:31 +00:00
|
|
|
|
2021-05-03 12:12:42 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
2017-04-26 17:30:25 +02:00
|
|
|
#include "ortools/base/commandlineflags.h"
|
2011-05-11 16:06:31 +00:00
|
|
|
|
2021-04-01 12:13:35 +02:00
|
|
|
ABSL_FLAG(int64_t, assignment_alpha, 5,
|
2020-10-21 15:51:44 +02:00
|
|
|
"Divisor for epsilon at each Refine "
|
|
|
|
|
"step of LinearSumAssignment.");
|
2020-10-28 13:42:36 +01:00
|
|
|
ABSL_FLAG(int, assignment_progress_logging_period, 5000,
|
2020-10-21 15:51:44 +02:00
|
|
|
"Number of relabelings to do between logging progress messages "
|
|
|
|
|
"when verbose level is 4 or more.");
|
|
|
|
|
ABSL_FLAG(bool, assignment_stack_order, true,
|
|
|
|
|
"Process active nodes in stack (as opposed to queue) order.");
|