picos.expressions.set¶
Backend for mathematical set type implementations.
Outline¶
Classes¶
Abstract base class for mathematical set expressions. |
|
|
Classes¶
Set¶
-
class
picos.expressions.set.
Set
(typeStr, symbStr)[source]¶ Bases:
abc.ABC
Abstract base class for mathematical set expressions.
-
replace_mutables
(new_mutables)[source]¶ See
replace_mutables
.
-
property
mutables
¶ Return a Python set of mutables that are involved in the set.
-
property
parameters
¶ The set of parameters that are involved in the set.
-
property
refined
¶ The set itself, as sets do not support refinement.
This exists for compatibility with expressions.
-
property
string
¶ Symbolic string representation of the set.
-
property
subtype
¶
-
property
type
¶
-
property
variables
¶ The set of decision variables that are involved in the set.
-
SetType¶
-
class
picos.expressions.set.
SetType
(theClass, subtype)[source]¶ Bases:
picos.expressions.expression.ExpressionType
ExpressionType
for sets.