14package com.google.ortools.sat;
16import com.google.ortools.sat.CpModelProto;
17import com.google.ortools.util.Domain;
20public final class BoolVar
extends IntVar implements Literal {
21 BoolVar(CpModelProto.Builder builder, Domain domain, String name) {
22 super(builder, domain, name);
26 BoolVar(CpModelProto.Builder builder,
int index) {
27 super(builder, index);
34 if (negation ==
null) {