OR-Tools  8.1
lp_data/permutation.h File Reference

Go to the source code of this file.

Classes

class  Permutation< IndexType >
 

Namespaces

 operations_research
 The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
 
 operations_research::glop
 

Typedefs

typedef Permutation< RowIndex > RowPermutation
 
typedef Permutation< ColIndex > ColumnPermutation
 

Functions

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