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

#include <diffn_util.h>

Public Types

enum class  PairwiseRestrictionType {
  CONFLICT , FIRST_BELOW_SECOND , FIRST_ABOVE_SECOND , FIRST_LEFT_OF_SECOND ,
  FIRST_RIGHT_OF_SECOND
}
 

Public Member Functions

bool operator== (const PairwiseRestriction &rhs) const
 

Public Attributes

int first_index
 
int second_index
 
PairwiseRestrictionType type
 

Detailed Description

Definition at line 234 of file diffn_util.h.

Member Enumeration Documentation

◆ PairwiseRestrictionType

Enumerator
CONFLICT 
FIRST_BELOW_SECOND 
FIRST_ABOVE_SECOND 
FIRST_LEFT_OF_SECOND 
FIRST_RIGHT_OF_SECOND 

Definition at line 235 of file diffn_util.h.

Member Function Documentation

◆ operator==()

bool operations_research::sat::PairwiseRestriction::operator== ( const PairwiseRestriction & rhs) const
inline

Definition at line 247 of file diffn_util.h.

Member Data Documentation

◆ first_index

int operations_research::sat::PairwiseRestriction::first_index

Definition at line 243 of file diffn_util.h.

◆ second_index

int operations_research::sat::PairwiseRestriction::second_index

Definition at line 244 of file diffn_util.h.

◆ type

PairwiseRestrictionType operations_research::sat::PairwiseRestriction::type

Definition at line 245 of file diffn_util.h.


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