C++ Reference: class CircuitConstraint

This documentation is automatically generated.

Specialized circuit constraint.

This constraint allows adding arcs to the circuit constraint incrementally.


Return type: void

Arguments: int tail, int head, BoolVar literal

Add an arc to the circuit. @param tail the index of the tail node. @param head the index of the head node. @param literal it will be set to true if the arc is selected.