OR-Tools  9.6
ObjectiveStorage::Diff

Detailed Description

Definition at line 39 of file objective_storage.h.

Public Member Functions

 Diff (const VariableId variable_checkpoint)
 

Public Attributes

VariableId variable_checkpoint {0}
 
bool direction = false
 
bool offset = false
 
absl::flat_hash_set< VariableId > linear_coefficients
 
absl::flat_hash_set< std::pair< VariableId, VariableId > > quadratic_coefficients
 

Constructor & Destructor Documentation

◆ Diff()

Diff ( const VariableId  variable_checkpoint)
inlineexplicit

Definition at line 40 of file objective_storage.h.

Member Data Documentation

◆ direction

bool direction = false

Definition at line 44 of file objective_storage.h.

◆ linear_coefficients

absl::flat_hash_set<VariableId> linear_coefficients

Definition at line 47 of file objective_storage.h.

◆ offset

bool offset = false

Definition at line 45 of file objective_storage.h.

◆ quadratic_coefficients

absl::flat_hash_set<std::pair<VariableId, VariableId> > quadratic_coefficients

Definition at line 52 of file objective_storage.h.

◆ variable_checkpoint

VariableId variable_checkpoint {0}

Definition at line 43 of file objective_storage.h.


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