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

Public Member Functions

 Trail (int block_size, ConstraintSolverParameters::TrailCompression compression_level)
 
void BacktrackTo (StateMarker *m)
 

Public Attributes

CompressedTrail< int > rev_ints_
 
CompressedTrail< int64_t > rev_int64s_
 
CompressedTrail< uint64_t > rev_uint64s_
 
CompressedTrail< double > rev_doubles_
 
CompressedTrail< void * > rev_ptrs_
 
std::vector< IntVar * > rev_boolvar_list_
 
std::vector< bool * > rev_bools_
 
std::vector< bool > rev_bool_value_
 
std::vector< int * > rev_int_memory_
 
std::vector< int64_t * > rev_int64_memory_
 
std::vector< double * > rev_double_memory_
 
std::vector< BaseObject * > rev_object_memory_
 
std::vector< BaseObject ** > rev_object_array_memory_
 
std::vector< void * > rev_memory_
 
std::vector< void ** > rev_memory_array_
 

Detailed Description

Definition at line 741 of file constraint_solver.cc.

Constructor & Destructor Documentation

◆ Trail()

operations_research::Trail::Trail ( int block_size,
ConstraintSolverParameters::TrailCompression compression_level )
inline

Definition at line 758 of file constraint_solver.cc.

Member Function Documentation

◆ BacktrackTo()

void operations_research::Trail::BacktrackTo ( StateMarker * m)
inline

Incorrect trail size after backtrack.

Incorrect trail size after backtrack.

Incorrect trail size after backtrack.

Incorrect trail size after backtrack.

Incorrect trail size after backtrack.

Explicitly call unsized delete

The previous cast is necessary to deallocate generic memory described by a void* when passed to the RevAlloc procedure We cannot do a delete[] there This is useful for cells of RevFIFO and should not be used outside of the product

delete [] version of the previous unsafe case.

Definition at line 766 of file constraint_solver.cc.

Member Data Documentation

◆ rev_bool_value_

std::vector<bool> operations_research::Trail::rev_bool_value_

Definition at line 749 of file constraint_solver.cc.

◆ rev_bools_

std::vector<bool*> operations_research::Trail::rev_bools_

Definition at line 748 of file constraint_solver.cc.

◆ rev_boolvar_list_

std::vector<IntVar*> operations_research::Trail::rev_boolvar_list_

Definition at line 747 of file constraint_solver.cc.

◆ rev_double_memory_

std::vector<double*> operations_research::Trail::rev_double_memory_

Definition at line 752 of file constraint_solver.cc.

◆ rev_doubles_

CompressedTrail<double> operations_research::Trail::rev_doubles_

Definition at line 745 of file constraint_solver.cc.

◆ rev_int64_memory_

std::vector<int64_t*> operations_research::Trail::rev_int64_memory_

Definition at line 751 of file constraint_solver.cc.

◆ rev_int64s_

CompressedTrail<int64_t> operations_research::Trail::rev_int64s_

Definition at line 743 of file constraint_solver.cc.

◆ rev_int_memory_

std::vector<int*> operations_research::Trail::rev_int_memory_

Definition at line 750 of file constraint_solver.cc.

◆ rev_ints_

CompressedTrail<int> operations_research::Trail::rev_ints_

Definition at line 742 of file constraint_solver.cc.

◆ rev_memory_

std::vector<void*> operations_research::Trail::rev_memory_

Definition at line 755 of file constraint_solver.cc.

◆ rev_memory_array_

std::vector<void**> operations_research::Trail::rev_memory_array_

Definition at line 756 of file constraint_solver.cc.

◆ rev_object_array_memory_

std::vector<BaseObject**> operations_research::Trail::rev_object_array_memory_

Definition at line 754 of file constraint_solver.cc.

◆ rev_object_memory_

std::vector<BaseObject*> operations_research::Trail::rev_object_memory_

Definition at line 753 of file constraint_solver.cc.

◆ rev_ptrs_

CompressedTrail<void*> operations_research::Trail::rev_ptrs_

Definition at line 746 of file constraint_solver.cc.

◆ rev_uint64s_

CompressedTrail<uint64_t> operations_research::Trail::rev_uint64s_

Definition at line 744 of file constraint_solver.cc.


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