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

A reversible switch that can switch once from false to true. More...

#include <constraint_solveri.h>

Public Member Functions

 RevSwitch ()
 
bool Switched () const
 
void Switch (Solver *const solver)
 

Detailed Description

A reversible switch that can switch once from false to true.

Definition at line 394 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ RevSwitch()

operations_research::RevSwitch::RevSwitch ( )
inline

Definition at line 396 of file constraint_solveri.h.

Member Function Documentation

◆ Switch()

void operations_research::RevSwitch::Switch ( Solver *const solver)
inline

Definition at line 400 of file constraint_solveri.h.

◆ Switched()

bool operations_research::RevSwitch::Switched ( ) const
inline

Definition at line 398 of file constraint_solveri.h.


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