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

Detailed Description

Definition at line 298 of file diffn_util.h.

#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

Member Enumeration Documentation

◆ PairwiseRestrictionType

Enumerator
CONFLICT 
FIRST_BELOW_SECOND 
FIRST_ABOVE_SECOND 
FIRST_LEFT_OF_SECOND 
FIRST_RIGHT_OF_SECOND 

Definition at line 299 of file diffn_util.h.

Member Function Documentation

◆ operator==()

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

Definition at line 311 of file diffn_util.h.

Member Data Documentation

◆ first_index

int operations_research::sat::PairwiseRestriction::first_index

Definition at line 307 of file diffn_util.h.

◆ second_index

int operations_research::sat::PairwiseRestriction::second_index

Definition at line 308 of file diffn_util.h.

◆ type

PairwiseRestrictionType operations_research::sat::PairwiseRestriction::type

Definition at line 309 of file diffn_util.h.


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