amplify.BinaryConstraints

class BinaryConstraints

no docstring

__init__(*args, **kwargs)

Overloaded function.

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

  2. __init__(self: amplify.BinaryConstraints, arg0: amplify.BinaryConstraints) -> None

Copy constructor

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

Methods

__init__(*args, **kwargs)

Overloaded function.

append(self, x)

Add an item to the end of the list

clear(self)

Clear the contents

extend(*args, **kwargs)

Overloaded function.

insert(self, i, x)

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

append(self: amplify.BinaryConstraints, x: amplify.BinaryConstraintTerm) None

Add an item to the end of the list

clear(self: amplify.BinaryConstraints) None

Clear the contents

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: amplify.BinaryConstraints, L: amplify.BinaryConstraints) -> None

Extend the list by appending all the items in the given list

  1. extend(self: amplify.BinaryConstraints, L: Iterable) -> None

Extend the list by appending all the items in the given list

insert(self: amplify.BinaryConstraints, i: int, x: amplify.BinaryConstraintTerm) None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: amplify.BinaryConstraints) -> amplify.BinaryConstraintTerm

Remove and return the last item

  1. pop(self: amplify.BinaryConstraints, i: int) -> amplify.BinaryConstraintTerm

Remove and return the item at index i