Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::RevPartialSequence Class Reference

--— RevPartialSequence --— More...

#include <constraint_solveri.h>

Public Member Functions

 RevPartialSequence (const std::vector< int > &items)
 
 RevPartialSequence (int size)
 
 ~RevPartialSequence ()
 
int NumFirstRanked () const
 
int NumLastRanked () const
 
int Size () const
 
const int & operator[] (int index) const
 
void RankFirst (Solver *const solver, int elt)
 
void RankLast (Solver *const solver, int elt)
 
bool IsRanked (int elt) const
 
std::string DebugString () const
 

Detailed Description

--— RevPartialSequence --—

Definition at line 3008 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ RevPartialSequence() [1/2]

operations_research::RevPartialSequence::RevPartialSequence ( const std::vector< int > & items)
inlineexplicit

Definition at line 3010 of file constraint_solveri.h.

◆ RevPartialSequence() [2/2]

operations_research::RevPartialSequence::RevPartialSequence ( int size)
inlineexplicit

Definition at line 3022 of file constraint_solveri.h.

◆ ~RevPartialSequence()

operations_research::RevPartialSequence::~RevPartialSequence ( )
inline

Definition at line 3034 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

std::string operations_research::RevPartialSequence::DebugString ( ) const
inline

Definition at line 3068 of file constraint_solveri.h.

◆ IsRanked()

bool operations_research::RevPartialSequence::IsRanked ( int elt) const
inline

Definition at line 3062 of file constraint_solveri.h.

◆ NumFirstRanked()

int operations_research::RevPartialSequence::NumFirstRanked ( ) const
inline

Definition at line 3036 of file constraint_solveri.h.

◆ NumLastRanked()

int operations_research::RevPartialSequence::NumLastRanked ( ) const
inline

Definition at line 3038 of file constraint_solveri.h.

◆ operator[]()

const int & operations_research::RevPartialSequence::operator[] ( int index) const
inline

Definition at line 3043 of file constraint_solveri.h.

◆ RankFirst()

void operations_research::RevPartialSequence::RankFirst ( Solver *const solver,
int elt )
inline

Definition at line 3050 of file constraint_solveri.h.

◆ RankLast()

void operations_research::RevPartialSequence::RankLast ( Solver *const solver,
int elt )
inline

Definition at line 3056 of file constraint_solveri.h.

◆ Size()

int operations_research::RevPartialSequence::Size ( ) const
inline

Definition at line 3040 of file constraint_solveri.h.


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