Google OR-Tools: build/ortools/constraint_solver/routing_enums.pb.cc Source File

1

2

3

4

5

7

8#include <algorithm>

9#include <type_traits>

10#include "google/protobuf/io/coded_stream.h"

11#include "google/protobuf/generated_message_tctable_impl.h"

12#include "google/protobuf/extension_set.h"

13#include "google/protobuf/generated_message_util.h"

14#include "google/protobuf/wire_format_lite.h"

15#include "google/protobuf/descriptor.h"

16#include "google/protobuf/generated_message_reflection.h"

17#include "google/protobuf/reflection_ops.h"

18#include "google/protobuf/wire_format.h"

19

20

21

22#include "google/protobuf/port_def.inc"

23PROTOBUF_PRAGMA_INIT_SEG

26namespace _fl = ::google::protobuf::internal::field_layout;

28template <typename>

30#if defined(PROTOBUF_CUSTOM_VTABLE)

32#else

33 : ::google::protobuf::internal::ZeroFieldsBase() {

34}

35#endif

43

44PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL

46template <typename>

48#if defined(PROTOBUF_CUSTOM_VTABLE)

50#else

51 : ::google::protobuf::internal::ZeroFieldsBase() {

52}

53#endif

61

62PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL

64template <typename>

66#if defined(PROTOBUF_CUSTOM_VTABLE)

68#else

69 : ::google::protobuf::internal::ZeroFieldsBase() {

70}

71#endif

79

80PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL

82}

83static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL

85static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE

87const ::uint32_t

89 protodesc_cold) = {

90 0x000,

91 0x000,

92 0x000,

93};

94

95static const ::_pbi::MigrationSchema

100};

106const char descriptor_table_protodef_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(

107 protodesc_cold) = {

108 "\n-ortools/constraint_solver/routing_enum"

109 "s.proto\022\023operations_research\"\305\003\n\025FirstSo"

110 "lutionStrategy\"\253\003\n\005Value\022\t\n\005UNSET\020\000\022\r\n\tA"

111 "UTOMATIC\020\017\022\025\n\021PATH_CHEAPEST_ARC\020\003\022\035\n\031PAT"

112 "H_MOST_CONSTRAINED_ARC\020\004\022\026\n\022EVALUATOR_ST"

113 "RATEGY\020\005\022\013\n\007SAVINGS\020\n\022\024\n\020PARALLEL_SAVING"

114 "S\020\021\022\t\n\005SWEEP\020\013\022\020\n\014CHRISTOFIDES\020\r\022\023\n\017ALL_"

115 "UNPERFORMED\020\006\022\022\n\016BEST_INSERTION\020\007\022\037\n\033PAR"

116 "ALLEL_CHEAPEST_INSERTION\020\010\022!\n\035SEQUENTIAL"

117 "_CHEAPEST_INSERTION\020\016\022\034\n\030LOCAL_CHEAPEST_"

118 "INSERTION\020\t\022!\n\035LOCAL_CHEAPEST_COST_INSER"

119 "TION\020\020\022\027\n\023GLOBAL_CHEAPEST_ARC\020\001\022\026\n\022LOCAL"

120 "_CHEAPEST_ARC\020\002\022\033\n\027FIRST_UNBOUND_MIN_VAL"

121 "UE\020\014\"\256\001\n\030LocalSearchMetaheuristic\"\221\001\n\005Va"

122 "lue\022\t\n\005UNSET\020\000\022\r\n\tAUTOMATIC\020\006\022\022\n\016GREEDY_"

123 "DESCENT\020\001\022\027\n\023GUIDED_LOCAL_SEARCH\020\002\022\027\n\023SI"

124 "MULATED_ANNEALING\020\003\022\017\n\013TABU_SEARCH\020\004\022\027\n\023"

125 "GENERIC_TABU_SEARCH\020\005\"\361\001\n\023RoutingSearchS"

126 "tatus\"\331\001\n\005Value\022\026\n\022ROUTING_NOT_SOLVED\020\000\022"

127 "\023\n\017ROUTING_SUCCESS\020\001\0225\n1ROUTING_PARTIAL_"

128 "SUCCESS_LOCAL_OPTIMUM_NOT_REACHED\020\002\022\020\n\014R"

129 "OUTING_FAIL\020\003\022\030\n\024ROUTING_FAIL_TIMEOUT\020\004\022"

130 "\023\n\017ROUTING_INVALID\020\005\022\026\n\022ROUTING_INFEASIB"

131 "LE\020\006\022\023\n\017ROUTING_OPTIMAL\020\007BI\n#com.google."

132 "ortools.constraintsolverP\001\252\002\037Google.OrTo"

133 "ols.ConstraintSolverb\006proto3"

134};

137 false,

138 false,

139 1028,

140 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto,

141 "ortools/constraint_solver/routing_enums.proto",

143 nullptr,

144 0,

145 3,

151};

171

172

173class FirstSolutionStrategy::_Internal {

178#if defined(PROTOBUF_CUSTOM_VTABLE)

180#else

181 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

182#endif

183

184}

186 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,

188#if defined(PROTOBUF_CUSTOM_VTABLE)

190#else

191 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

192#endif

194 (void)_this;

195 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(

196 from._internal_metadata_);

197

198

199}

200

201inline void* PROTOBUF_NONNULL FirstSolutionStrategy::PlacementNew_(

202 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,

203 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {

205}

206constexpr auto FirstSolutionStrategy::InternalNewImpl_() {

207 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FirstSolutionStrategy),

209}

211 return ::google::protobuf::internal::ClassDataFull{

212 ::google::protobuf::internal::ClassData{

214 &_table_.header,

215 nullptr,

216 nullptr,

217 &FirstSolutionStrategy::MergeImpl,

218 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<FirstSolutionStrategy>(),

219#if defined(PROTOBUF_CUSTOM_VTABLE)

220 &FirstSolutionStrategy::SharedDtor,

221 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<FirstSolutionStrategy>(), &FirstSolutionStrategy::ByteSizeLong,

222 &FirstSolutionStrategy::_InternalSerialize,

223#endif

225 false,

226 },

227 &FirstSolutionStrategy::kDescriptorMethods,

229 nullptr,

230 };

231}

232

233PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const

236

237PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL

238FirstSolutionStrategy::GetClassData() const {

242}

243PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

244const ::_pbi::TcParseTable<0, 0, 0, 0, 2>

245FirstSolutionStrategy::_table_ = {

246 {

247 0,

248 0,

249 0, 0,

250 offsetof(decltype(_table_), field_lookup_table),

251 4294967295,

252 offsetof(decltype(_table_), field_names),

253 0,

254 0,

255 offsetof(decltype(_table_), field_names),

257 nullptr,

258 ::_pbi::TcParser::GenericFallback,

259 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE

260 ::_pbi::TcParser::GetTable<::operations_research::FirstSolutionStrategy>(),

261 #endif

262 }, {{

263 {::_pbi::TcParser::MiniParse, {}},

264 }}, {{

265 65535, 65535

266 }},

267 {{

268 }},

269};

270

271

272

273

274

275

276

278 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full());

279}

280

281

283 public:

287#if defined(PROTOBUF_CUSTOM_VTABLE)

289#else

290 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

291#endif

292

293}

295 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,

297#if defined(PROTOBUF_CUSTOM_VTABLE)

299#else

300 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

301#endif

303 (void)_this;

304 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(

305 from._internal_metadata_);

306

307

308}

309

310inline void* PROTOBUF_NONNULL LocalSearchMetaheuristic::PlacementNew_(

311 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,

312 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {

314}

315constexpr auto LocalSearchMetaheuristic::InternalNewImpl_() {

316 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LocalSearchMetaheuristic),

318}

320 return ::google::protobuf::internal::ClassDataFull{

321 ::google::protobuf::internal::ClassData{

323 &_table_.header,

324 nullptr,

325 nullptr,

326 &LocalSearchMetaheuristic::MergeImpl,

327 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<LocalSearchMetaheuristic>(),

328#if defined(PROTOBUF_CUSTOM_VTABLE)

329 &LocalSearchMetaheuristic::SharedDtor,

330 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<LocalSearchMetaheuristic>(), &LocalSearchMetaheuristic::ByteSizeLong,

331 &LocalSearchMetaheuristic::_InternalSerialize,

332#endif

334 false,

335 },

336 &LocalSearchMetaheuristic::kDescriptorMethods,

338 nullptr,

339 };

340}

341

342PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const

346PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL

347LocalSearchMetaheuristic::GetClassData() const {

351}

352PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

353const ::_pbi::TcParseTable<0, 0, 0, 0, 2>

354LocalSearchMetaheuristic::_table_ = {

355 {

356 0,

357 0,

358 0, 0,

359 offsetof(decltype(_table_), field_lookup_table),

360 4294967295,

361 offsetof(decltype(_table_), field_names),

362 0,

363 0,

364 offsetof(decltype(_table_), field_names),

366 nullptr,

367 ::_pbi::TcParser::GenericFallback,

368 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE

369 ::_pbi::TcParser::GetTable<::operations_research::LocalSearchMetaheuristic>(),

370 #endif

371 }, {{

372 {::_pbi::TcParser::MiniParse, {}},

373 }}, {{

374 65535, 65535

375 }},

376 {{

377 }},

378};

379

380

381

382

383

384

385

387 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full());

392 public:

393};

396#if defined(PROTOBUF_CUSTOM_VTABLE)

398#else

399 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

400#endif

401

402}

404 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,

406#if defined(PROTOBUF_CUSTOM_VTABLE)

408#else

409 : ::google::protobuf::internal::ZeroFieldsBase(arena) {

410#endif

412 (void)_this;

413 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(

414 from._internal_metadata_);

415

416

417}

418

419inline void* PROTOBUF_NONNULL RoutingSearchStatus::PlacementNew_(

420 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,

421 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {

423}

424constexpr auto RoutingSearchStatus::InternalNewImpl_() {

425 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoutingSearchStatus),

427}

429 return ::google::protobuf::internal::ClassDataFull{

430 ::google::protobuf::internal::ClassData{

432 &_table_.header,

433 nullptr,

434 nullptr,

435 &RoutingSearchStatus::MergeImpl,

436 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<RoutingSearchStatus>(),

437#if defined(PROTOBUF_CUSTOM_VTABLE)

438 &RoutingSearchStatus::SharedDtor,

439 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<RoutingSearchStatus>(), &RoutingSearchStatus::ByteSizeLong,

440 &RoutingSearchStatus::_InternalSerialize,

441#endif

443 false,

444 },

445 &RoutingSearchStatus::kDescriptorMethods,

447 nullptr,

448 };

449}

450

451PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const

454

455PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL

456RoutingSearchStatus::GetClassData() const {

460}

461PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

462const ::_pbi::TcParseTable<0, 0, 0, 0, 2>

463RoutingSearchStatus::_table_ = {

464 {

465 0,

466 0,

467 0, 0,

468 offsetof(decltype(_table_), field_lookup_table),

469 4294967295,

470 offsetof(decltype(_table_), field_names),

471 0,

472 0,

473 offsetof(decltype(_table_), field_names),

475 nullptr,

476 ::_pbi::TcParser::GenericFallback,

477 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE

478 ::_pbi::TcParser::GetTable<::operations_research::RoutingSearchStatus>(),

479 #endif

480 }, {{

481 {::_pbi::TcParser::MiniParse, {}},

482 }}, {{

483 65535, 65535

484 }},

485 {{

486 }},

487};

488

489

490

491

492

493

494

496 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full());

497}

501namespace protobuf {

502}

503}

504

505PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type

508 ::std::false_type{});

509#include "google/protobuf/port_undef.inc"

static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_

static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]

void MergeFrom(const FirstSolutionStrategy &from)

::google::protobuf::Metadata GetMetadata() const

Definition routing_enums.pb.cc:278

static constexpr auto InternalGenerateClassData_()

Definition routing_enums.pb.cc:211

void MergeFrom(const RoutingSearchStatus &from)

static constexpr auto InternalGenerateClassData_()

Definition routing_enums.pb.cc:431

::google::protobuf::Metadata GetMetadata() const

Definition routing_enums.pb.cc:498

static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RoutingSearchStatus_class_data_

Definition routing_enums.pb.cc:455

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalSearchMetaheuristicDefaultTypeInternal _LocalSearchMetaheuristic_default_instance_

Definition routing_enums.pb.cc:63

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull FirstSolutionStrategy_class_data_

Definition routing_enums.pb.cc:235

PROTOBUF_CONSTINIT const uint32_t FirstSolutionStrategy_Value_internal_data_[]

Definition routing_enums.pb.cc:157

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL RoutingSearchStatus_Value_descriptor()

Definition routing_enums.pb.cc:165

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LocalSearchMetaheuristic_Value_descriptor()

Definition routing_enums.pb.cc:159

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FirstSolutionStrategyDefaultTypeInternal _FirstSolutionStrategy_default_instance_

Definition routing_enums.pb.cc:81

PROTOBUF_CONSTINIT const uint32_t LocalSearchMetaheuristic_Value_internal_data_[]

Definition routing_enums.pb.cc:163

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LocalSearchMetaheuristic_class_data_

Definition routing_enums.pb.cc:345

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FirstSolutionStrategy_Value_descriptor()

Definition routing_enums.pb.cc:153

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoutingSearchStatusDefaultTypeInternal _RoutingSearchStatus_default_instance_

Definition routing_enums.pb.cc:45

PROTOBUF_CONSTINIT const uint32_t RoutingSearchStatus_Value_internal_data_[]

Definition routing_enums.pb.cc:169

static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto

Definition routing_enums.pb.cc:86

const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)

static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto[3]

Definition routing_enums.pb.cc:84

PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto

Definition routing_enums.pb.cc:136

::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2frouting_5fenums_2eproto_once

Definition routing_enums.pb.cc:135

~FirstSolutionStrategyDefaultTypeInternal()

Definition routing_enums.pb.cc:74

PROTOBUF_CONSTEXPR FirstSolutionStrategyDefaultTypeInternal()

Definition routing_enums.pb.cc:73

FirstSolutionStrategy _instance

Definition routing_enums.pb.cc:76

PROTOBUF_CONSTEXPR RoutingSearchStatusDefaultTypeInternal()

Definition routing_enums.pb.cc:37

RoutingSearchStatus _instance

Definition routing_enums.pb.cc:40

~RoutingSearchStatusDefaultTypeInternal()

Definition routing_enums.pb.cc:38