Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.Literal Interface Reference

Detailed Description

Interface to describe a boolean variable or its negation.

Definition at line 17 of file Literal.java.

Inheritance diagram for com.google.ortools.sat.Literal:
com.google.ortools.sat.LinearArgument com.google.ortools.sat.LinearArgument com.google.ortools.sat.BoolVar com.google.ortools.sat.BoolVar com.google.ortools.sat.NotBoolVar com.google.ortools.sat.NotBoolVar

Public Member Functions

int getIndex ()
Literal not ()
int getIndex ()
Literal not ()
Public Member Functions inherited from com.google.ortools.sat.LinearArgument
LinearExpr build ()
LinearExpr build ()

Member Function Documentation

◆ getIndex() [1/2]

int com.google.ortools.sat.Literal.getIndex ( )

◆ getIndex() [2/2]

int com.google.ortools.sat.Literal.getIndex ( )

◆ not() [1/2]

Literal com.google.ortools.sat.Literal.not ( )

◆ not() [2/2]

Literal com.google.ortools.sat.Literal.not ( )

The documentation for this interface was generated from the following files:
  • ortools/java/com/google/ortools/sat/Literal.java
  • build/java/ortools-java/src/main/java/com/google/ortools/sat/Literal.java