amplify.BinaryConstraint

class BinaryConstraint

no docstring

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: amplify.BinaryConstraint) -> None

no docstring

  1. __init__(self: amplify.BinaryConstraint, arg0: amplify.BinaryConstraint) -> None

  2. __init__(self: amplify.BinaryConstraint, arg0: libqam::Constraint<libqam::Binary, int>) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

is_satisfied(*args, **kwargs)

Overloaded function.

Attributes

label

no docstring

penalty

no docstring

is_satisfied(*args, **kwargs)

Overloaded function.

  1. is_satisfied(self: amplify.BinaryConstraint, arg0: List[int]) -> bool

no docstring

  1. is_satisfied(self: amplify.BinaryConstraint, arg0: Dict[int, int]) -> bool

  2. is_satisfied(self: amplify.BinaryConstraint, arg0: function) -> bool

property label

no docstring

property penalty

no docstring