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

#include <precedences.h>

Public Attributes

IntegerVariable var
 
int index
 

Detailed Description

Returns a set of precedences (var, index) such that var is after vars[index]. All entries for the same variable will be contiguous and sorted by index. We only list variable with at least two entries. The offset can be retrieved via GetConditionalOffset(vars[index], var).

Definition at line 108 of file precedences.h.

Member Data Documentation

◆ index

int operations_research::sat::PrecedenceRelations::PrecedenceData::index

Definition at line 110 of file precedences.h.

◆ var

IntegerVariable operations_research::sat::PrecedenceRelations::PrecedenceData::var

Definition at line 109 of file precedences.h.


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