Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::SparseDoubleMatrixProto Class Referencefinal

Detailed Description

Definition at line 764 of file sparse_containers.pb.h.

#include <sparse_containers.pb.h>

Inheritance diagram for operations_research::math_opt::SparseDoubleMatrixProto:

Classes

class  _Internal

Public Types

enum  : int { kRowIdsFieldNumber = 1 , kColumnIdsFieldNumber = 2 , kCoefficientsFieldNumber = 3 }
 nested types -------------------------------------------------— More...

Public Member Functions

 SparseDoubleMatrixProto ()
 ~SparseDoubleMatrixProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SparseDoubleMatrixProto (::google::protobuf::internal::ConstantInitialized)
 SparseDoubleMatrixProto (const SparseDoubleMatrixProto &from)
 SparseDoubleMatrixProto (SparseDoubleMatrixProto &&from) noexcept
SparseDoubleMatrixProtooperator= (const SparseDoubleMatrixProto &from)
SparseDoubleMatrixProtooperator= (SparseDoubleMatrixProto &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (SparseDoubleMatrixProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SparseDoubleMatrixProto *PROTOBUF_NONNULL other)
SparseDoubleMatrixProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SparseDoubleMatrixProto &from)
void MergeFrom (const SparseDoubleMatrixProto &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int row_ids_size () const
 repeated int64 row_ids = 1;
void clear_row_ids ()
::int64_t row_ids (int index) const
void set_row_ids (int index, ::int64_t value)
void add_row_ids (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & row_ids () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_row_ids ()
int column_ids_size () const
 repeated int64 column_ids = 2;
void clear_column_ids ()
::int64_t column_ids (int index) const
void set_column_ids (int index, ::int64_t value)
void add_column_ids (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & column_ids () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_column_ids ()
int coefficients_size () const
 repeated double coefficients = 3;
void clear_coefficients ()
double coefficients (int index) const
void set_coefficients (int index, double value)
void add_coefficients (double value)
const ::google::protobuf::RepeatedField< double > & coefficients () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficients ()
template<typename>
PROTOBUF_CONSTEXPR SparseDoubleMatrixProto (::_pbi::ConstantInitialized)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const SparseDoubleMatrixProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 4

Protected Member Functions

 SparseDoubleMatrixProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 SparseDoubleMatrixProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const SparseDoubleMatrixProto &from)
 SparseDoubleMatrixProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, SparseDoubleMatrixProto &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto
void swap (SparseDoubleMatrixProto &a, SparseDoubleMatrixProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

nested types -------------------------------------------------—

accessors ----------------------------------------------------—

Enumerator
kRowIdsFieldNumber 
kColumnIdsFieldNumber 
kCoefficientsFieldNumber 

Definition at line 906 of file sparse_containers.pb.h.

Constructor & Destructor Documentation

◆ SparseDoubleMatrixProto() [1/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( )
inline

Definition at line 767 of file sparse_containers.pb.h.

◆ ~SparseDoubleMatrixProto()

operations_research::math_opt::SparseDoubleMatrixProto::~SparseDoubleMatrixProto ( )

@protoc_insertion_point(destructor:operations_research.math_opt.SparseDoubleMatrixProto)

Definition at line 1529 of file sparse_containers.pb.cc.

◆ SparseDoubleMatrixProto() [2/8]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ SparseDoubleMatrixProto() [3/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( const SparseDoubleMatrixProto & from)
inline

Definition at line 780 of file sparse_containers.pb.h.

◆ SparseDoubleMatrixProto() [4/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( SparseDoubleMatrixProto && from)
inlinenoexcept

Definition at line 781 of file sparse_containers.pb.h.

◆ SparseDoubleMatrixProto() [5/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SparseDoubleMatrixProto)

Definition at line 1480 of file sparse_containers.pb.cc.

◆ SparseDoubleMatrixProto() [6/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const SparseDoubleMatrixProto & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SparseDoubleMatrixProto)

Definition at line 1500 of file sparse_containers.pb.cc.

◆ SparseDoubleMatrixProto() [7/8]

operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
SparseDoubleMatrixProto && from )
inlineprotectednoexcept

Definition at line 888 of file sparse_containers.pb.h.

◆ SparseDoubleMatrixProto() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::math_opt::SparseDoubleMatrixProto::SparseDoubleMatrixProto ( ::_pbi::ConstantInitialized )

Definition at line 123 of file sparse_containers.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SparseDoubleMatrixProto)

repeated int64 row_ids = 1;

repeated int64 column_ids = 2;

repeated double coefficients = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SparseDoubleMatrixProto)

Definition at line 1668 of file sparse_containers.pb.cc.

◆ add_coefficients()

void operations_research::math_opt::SparseDoubleMatrixProto::add_coefficients ( double value)
inline

@protoc_insertion_point(field_add:operations_research.math_opt.SparseDoubleMatrixProto.coefficients)

Definition at line 1976 of file sparse_containers.pb.h.

◆ add_column_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::add_column_ids ( ::int64_t value)
inline

@protoc_insertion_point(field_add:operations_research.math_opt.SparseDoubleMatrixProto.column_ids)

Definition at line 1930 of file sparse_containers.pb.h.

◆ add_row_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::add_row_ids ( ::int64_t value)
inline

@protoc_insertion_point(field_add:operations_research.math_opt.SparseDoubleMatrixProto.row_ids)

Definition at line 1884 of file sparse_containers.pb.h.

◆ ByteSizeLong()

size_t operations_research::math_opt::SparseDoubleMatrixProto::ByteSizeLong ( ) const
final

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SparseDoubleMatrixProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 row_ids = 1;

repeated int64 column_ids = 2;

repeated double coefficients = 3;

Definition at line 1713 of file sparse_containers.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::math_opt::SparseDoubleMatrixProto::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SparseDoubleMatrixProto)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 1649 of file sparse_containers.pb.cc.

◆ clear_coefficients()

void operations_research::math_opt::SparseDoubleMatrixProto::clear_coefficients ( )
inline

Definition at line 1964 of file sparse_containers.pb.h.

◆ clear_column_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::clear_column_ids ( )
inline

Definition at line 1918 of file sparse_containers.pb.h.

◆ clear_row_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::clear_row_ids ( )
inline

Definition at line 1872 of file sparse_containers.pb.h.

◆ coefficients() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::SparseDoubleMatrixProto::coefficients ( ) const
inline

@protoc_insertion_point(field_list:operations_research.math_opt.SparseDoubleMatrixProto.coefficients)

Definition at line 1981 of file sparse_containers.pb.h.

◆ coefficients() [2/2]

double operations_research::math_opt::SparseDoubleMatrixProto::coefficients ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SparseDoubleMatrixProto.coefficients)

Definition at line 1968 of file sparse_containers.pb.h.

◆ coefficients_size()

int operations_research::math_opt::SparseDoubleMatrixProto::coefficients_size ( ) const
inline

repeated double coefficients = 3;

Definition at line 1961 of file sparse_containers.pb.h.

◆ column_ids() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::math_opt::SparseDoubleMatrixProto::column_ids ( ) const
inline

@protoc_insertion_point(field_list:operations_research.math_opt.SparseDoubleMatrixProto.column_ids)

Definition at line 1935 of file sparse_containers.pb.h.

◆ column_ids() [2/2]

int64_t operations_research::math_opt::SparseDoubleMatrixProto::column_ids ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SparseDoubleMatrixProto.column_ids)

Definition at line 1922 of file sparse_containers.pb.h.

◆ column_ids_size()

int operations_research::math_opt::SparseDoubleMatrixProto::column_ids_size ( ) const
inline

repeated int64 column_ids = 2;

Definition at line 1915 of file sparse_containers.pb.h.

◆ CopyFrom()

void operations_research::math_opt::SparseDoubleMatrixProto::CopyFrom ( const SparseDoubleMatrixProto & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SparseDoubleMatrixProto)

Definition at line 1768 of file sparse_containers.pb.cc.

◆ default_instance()

const SparseDoubleMatrixProto & operations_research::math_opt::SparseDoubleMatrixProto::default_instance ( )
inlinestatic

Definition at line 815 of file sparse_containers.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::descriptor ( )
inlinestatic

Definition at line 806 of file sparse_containers.pb.h.

◆ GetCachedSize()

int operations_research::math_opt::SparseDoubleMatrixProto::GetCachedSize ( ) const
inline

Definition at line 874 of file sparse_containers.pb.h.

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::GetClassData ( ) const
protected

Definition at line 1597 of file sparse_containers.pb.cc.

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::GetDescriptor ( )
inlinestatic

Definition at line 809 of file sparse_containers.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::math_opt::SparseDoubleMatrixProto::GetMetadata ( ) const

Definition at line 1784 of file sparse_containers.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::GetReflection ( )
inlinestatic

Definition at line 812 of file sparse_containers.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::math_opt::SparseDoubleMatrixProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 1569 of file sparse_containers.pb.cc.

◆ InternalNewImpl_()

auto operations_research::math_opt::SparseDoubleMatrixProto::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 1545 of file sparse_containers.pb.cc.

◆ IsInitialized()

bool operations_research::math_opt::SparseDoubleMatrixProto::IsInitialized ( ) const
inline

Definition at line 850 of file sparse_containers.pb.h.

◆ MergeFrom()

void operations_research::math_opt::SparseDoubleMatrixProto::MergeFrom ( const SparseDoubleMatrixProto & from)
inline

Definition at line 843 of file sparse_containers.pb.h.

◆ mutable_coefficients()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::mutable_coefficients ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SparseDoubleMatrixProto.coefficients)

Definition at line 1986 of file sparse_containers.pb.h.

◆ mutable_column_ids()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::mutable_column_ids ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SparseDoubleMatrixProto.column_ids)

Definition at line 1940 of file sparse_containers.pb.h.

◆ mutable_row_ids()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::mutable_row_ids ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SparseDoubleMatrixProto.row_ids)

Definition at line 1894 of file sparse_containers.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::mutable_unknown_fields ( )
inline

Definition at line 801 of file sparse_containers.pb.h.

◆ New()

SparseDoubleMatrixProto *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

implements Message -------------------------------------------—

Definition at line 837 of file sparse_containers.pb.h.

◆ operator=() [1/2]

SparseDoubleMatrixProto & operations_research::math_opt::SparseDoubleMatrixProto::operator= ( const SparseDoubleMatrixProto & from)
inline

Definition at line 783 of file sparse_containers.pb.h.

◆ operator=() [2/2]

SparseDoubleMatrixProto & operations_research::math_opt::SparseDoubleMatrixProto::operator= ( SparseDoubleMatrixProto && from)
inlinenoexcept

Definition at line 787 of file sparse_containers.pb.h.

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleMatrixProto::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

Definition at line 1540 of file sparse_containers.pb.cc.

◆ row_ids() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::math_opt::SparseDoubleMatrixProto::row_ids ( ) const
inline

@protoc_insertion_point(field_list:operations_research.math_opt.SparseDoubleMatrixProto.row_ids)

Definition at line 1889 of file sparse_containers.pb.h.

◆ row_ids() [2/2]

int64_t operations_research::math_opt::SparseDoubleMatrixProto::row_ids ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SparseDoubleMatrixProto.row_ids)

Definition at line 1876 of file sparse_containers.pb.h.

◆ row_ids_size()

int operations_research::math_opt::SparseDoubleMatrixProto::row_ids_size ( ) const
inline

repeated int64 row_ids = 1;

Definition at line 1869 of file sparse_containers.pb.h.

◆ set_coefficients()

void operations_research::math_opt::SparseDoubleMatrixProto::set_coefficients ( int index,
double value )
inline

@protoc_insertion_point(field_set:operations_research.math_opt.SparseDoubleMatrixProto.coefficients)

Definition at line 1972 of file sparse_containers.pb.h.

◆ set_column_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::set_column_ids ( int index,
::int64_t value )
inline

@protoc_insertion_point(field_set:operations_research.math_opt.SparseDoubleMatrixProto.column_ids)

Definition at line 1926 of file sparse_containers.pb.h.

◆ set_row_ids()

void operations_research::math_opt::SparseDoubleMatrixProto::set_row_ids ( int index,
::int64_t value )
inline

@protoc_insertion_point(field_set:operations_research.math_opt.SparseDoubleMatrixProto.row_ids)

Definition at line 1880 of file sparse_containers.pb.h.

◆ Swap()

void operations_research::math_opt::SparseDoubleMatrixProto::Swap ( SparseDoubleMatrixProto *PROTOBUF_NONNULL other)
inline

Definition at line 821 of file sparse_containers.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::math_opt::SparseDoubleMatrixProto::unknown_fields ( ) const
inline

Definition at line 797 of file sparse_containers.pb.h.

◆ UnsafeArenaSwap()

void operations_research::math_opt::SparseDoubleMatrixProto::UnsafeArenaSwap ( SparseDoubleMatrixProto *PROTOBUF_NONNULL other)
inline

Definition at line 829 of file sparse_containers.pb.h.

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Definition at line 975 of file sparse_containers.pb.h.

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 977 of file sparse_containers.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 968 of file sparse_containers.pb.h.

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

Definition at line 974 of file sparse_containers.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

◆ swap

void swap ( SparseDoubleMatrixProto & a,
SparseDoubleMatrixProto & b )
friend

Definition at line 820 of file sparse_containers.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseDoubleMatrixProto::_impl_

Definition at line 997 of file sparse_containers.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::SparseDoubleMatrixProto::kIndexInFileMessages = 4
staticconstexpr

Definition at line 819 of file sparse_containers.pb.h.


The documentation for this class was generated from the following files: