Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::NoSymmetry Struct Reference

A tag for no symmetry between two elements. More...

#include <symmetry.h>

Static Public Member Functions

static constexpr absl::string_view GetName ()
template<size_t n>
static constexpr bool Validate (std::array< int64_t, n > &)
template<size_t n>
static constexpr void Enforce (std::array< int64_t, n > &)
template<typename ElementTypeT, size_t n>
static constexpr void CheckElementTypes (const std::array< ElementTypeT, n > &)

Detailed Description

A tag for no symmetry between two elements.

Definition at line 29 of file symmetry.h.

Member Function Documentation

◆ CheckElementTypes()

template<typename ElementTypeT, size_t n>
constexpr void operations_research::math_opt::NoSymmetry::CheckElementTypes ( const std::array< ElementTypeT, n > & )
inlinestaticconstexpr

No type constraints.

Definition at line 44 of file symmetry.h.

◆ Enforce()

template<size_t n>
constexpr void operations_research::math_opt::NoSymmetry::Enforce ( std::array< int64_t, n > & )
inlinestaticconstexpr

No symmetry to enforce.

Definition at line 39 of file symmetry.h.

◆ GetName()

constexpr absl::string_view operations_research::math_opt::NoSymmetry::GetName ( )
inlinestaticconstexpr

Definition at line 30 of file symmetry.h.

◆ Validate()

template<size_t n>
constexpr bool operations_research::math_opt::NoSymmetry::Validate ( std::array< int64_t, n > & )
inlinestaticconstexpr

All keys are valid.

Definition at line 33 of file symmetry.h.


The documentation for this struct was generated from the following file: