DotNet Reference

.Net Reference

Detailed Description

Definition at line 19 of file Constraints.cs.

Public Member Functions

 Constraint (CpModelProto model)
 
void OnlyEnforceIf (ILiteral lit)
 
void OnlyEnforceIf (ILiteral[] lits)
 

Properties

int Index [get]
 
ConstraintProto Proto [get, set]
 

Constructor & Destructor Documentation

◆ Constraint()

Constraint ( CpModelProto  model)
inline

Definition at line 21 of file Constraints.cs.

Member Function Documentation

◆ OnlyEnforceIf() [1/2]

void OnlyEnforceIf ( ILiteral  lit)
inline

Definition at line 28 of file Constraints.cs.

◆ OnlyEnforceIf() [2/2]

void OnlyEnforceIf ( ILiteral[]  lits)
inline

Definition at line 33 of file Constraints.cs.

Property Documentation

◆ Index

int Index
get

Definition at line 41 of file Constraints.cs.

◆ Proto

ConstraintProto Proto
getset

Definition at line 48 of file Constraints.cs.


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