SolverResultΒΆ

class SolverResultΒΆ

Bases: UserList

Methods

__init__

append

S.append(value) -- append value to the end of the sequence

clear

copy

count

extend

S.extend(iterable) -- extend sequence by appending elements from the iterable

index

Raises ValueError if the value is not present.

insert

S.insert(index, value) -- insert value before index

pop

Raise IndexError if list is empty or index is out of range.

remove

S.remove(value) -- remove first occurrence of value.

reverse

S.reverse() -- reverse IN PLACE

sort

Attributes

__add__(other)ΒΆ
__contains__(item)ΒΆ
__copy__()ΒΆ
__delitem__(i)ΒΆ
__eq__(other)ΒΆ

Return self==value.

__ge__(other)ΒΆ

Return self>=value.

__getitem__(i)ΒΆ
__gt__(other)ΒΆ

Return self>value.

__iadd__(other)ΒΆ
__imul__(n)ΒΆ
__init__(*args, **kwargs)ΒΆ
__iter__()ΒΆ
__le__(other)ΒΆ

Return self<=value.

__len__()ΒΆ
__lt__(other)ΒΆ

Return self<value.

__mul__(n)ΒΆ
__radd__(other)ΒΆ
__repr__()ΒΆ

Return repr(self).

__reversed__()ΒΆ
__rmul__(n)ΒΆ
__setitem__(i, item)ΒΆ
append(item)ΒΆ

S.append(value) – append value to the end of the sequence

clear() None -- remove all items from SΒΆ
copy()ΒΆ
count(value) integer -- return number of occurrences of valueΒΆ
extend(other)ΒΆ

S.extend(iterable) – extend sequence by appending elements from the iterable

index(value[, start[, stop]]) integer -- return first index of value.ΒΆ

Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

insert(i, item)ΒΆ

S.insert(index, value) – insert value before index

pop([index]) item -- remove and return item at index (default last).ΒΆ

Raise IndexError if list is empty or index is out of range.

remove(item)ΒΆ

S.remove(value) – remove first occurrence of value. Raise ValueError if the value is not present.

reverse()ΒΆ

S.reverse() – reverse IN PLACE

sort(*args, **kwds)ΒΆ
__deprecated__ = 'SolverResult is deprecated since amplify v1.0.0 and will no longer support in the near future.\nPlease see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html'ΒΆ
__hash__ = NoneΒΆ
property solutions: list[SolverSolution]ΒΆ