Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
permutation.h File Reference
#include <cstddef>
#include "absl/log/check.h"
#include "absl/random/random.h"
#include "ortools/base/strong_vector.h"
#include "ortools/lp_data/lp_types.h"
#include "ortools/util/return_macros.h"

Go to the source code of this file.

Classes

class  operations_research::glop::Permutation< IndexType >
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::glop
 

Typedefs

typedef Permutation< RowIndex > operations_research::glop::RowPermutation
 
typedef Permutation< ColIndex > operations_research::glop::ColumnPermutation
 

Functions

template<typename IndexType, typename ITIVectorType>
void operations_research::glop::ApplyPermutation (const Permutation< IndexType > &perm, const ITIVectorType &b, ITIVectorType *result)
 
template<typename IndexType, typename ITIVectorType>
void operations_research::glop::ApplyInversePermutation (const Permutation< IndexType > &perm, const ITIVectorType &b, ITIVectorType *result)
 
template<typename RowIndexedVector>
void operations_research::glop::ApplyColumnPermutationToRowIndexedVector (StrictITISpan< ColIndex, const ColIndex > col_perm, RowIndexedVector *v, RowIndexedVector *tmp)