Pycarl formula¶
Number independent types¶
Number dependent types (gmp)¶
- class Constraint(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.Constraint, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.Constraint, var: stormpy.pycarl._pycarl_core.Variable, rel: stormpy.pycarl.formula.Relation, bound: stormpy.pycarl.gmp.Rational) -> None
__init__(self: stormpy.pycarl.formula.Constraint, arg0: stormpy.pycarl.gmp.Polynomial, arg1: stormpy.pycarl.formula.Relation) -> None
- property lhs¶
- property relation¶
- to_smt2(self: stormpy.pycarl.formula.Constraint) str¶
- class Formula(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl._pycarl_core.Variable) -> None
Create Formula given Boolean variable
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.Constraint) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.FormulaType, arg1: stormpy.pycarl.formula.Formula) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.FormulaType, arg1: collections.abc.Sequence[stormpy.pycarl.formula.Formula]) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: bool) -> None
- get_constraint(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Constraint¶
Get constraint of constraint formula
- get_implication_conclusion(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get conclusion of implication formula
- get_implication_premise(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get premise of implication formula
- get_ite_condition(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get condition of ITE formula
- get_ite_first_case(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get then case of ITE formula
- get_ite_second_case(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get else case of ITE formula
- get_negation_subformula(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get subformula of negation formula
- get_subformulas(self: stormpy.pycarl.formula.Formula) list[stormpy.pycarl.formula.Formula]¶
Get list of subformulas for n-ary formula
- to_smt2(self: stormpy.pycarl.formula.Formula) str¶
- property type¶
- class SimpleConstraint(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.SimpleConstraint, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.SimpleConstraint, arg0: stormpy.pycarl.gmp.Polynomial, arg1: stormpy.pycarl.formula.Relation) -> None
- lhs(self: stormpy.pycarl.formula.SimpleConstraint) stormpy.pycarl.gmp.Polynomial¶
Get the left hand side of the constraint
- rel(self: stormpy.pycarl.formula.SimpleConstraint) stormpy.pycarl.formula.Relation¶
Get the relation of the constraint
- class SimpleConstraintRatFunc(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.SimpleConstraintRatFunc, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.SimpleConstraintRatFunc, arg0: stormpy.pycarl.gmp.FactorizedRationalFunction, arg1: stormpy.pycarl.formula.Relation) -> None
- lhs(self: stormpy.pycarl.formula.SimpleConstraintRatFunc) stormpy.pycarl.gmp.FactorizedRationalFunction¶
Get the left hand side of the constraint
- rel(self: stormpy.pycarl.formula.SimpleConstraintRatFunc) stormpy.pycarl.formula.Relation¶
Get the relation of the constraint
Number dependent types (cln)¶
- class Constraint(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.Constraint, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.Constraint, var: stormpy.pycarl._pycarl_core.Variable, rel: stormpy.pycarl.formula.Relation, bound: stormpy.pycarl.cln.Rational) -> None
__init__(self: stormpy.pycarl.formula.Constraint, arg0: stormpy.pycarl.cln.Polynomial, arg1: stormpy.pycarl.formula.Relation) -> None
- property lhs¶
- property relation¶
- to_smt2(self: stormpy.pycarl.formula.Constraint) str¶
- class Formula(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl._pycarl_core.Variable) -> None
Create Formula given Boolean variable
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.Constraint) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.FormulaType, arg1: stormpy.pycarl.formula.Formula) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: stormpy.pycarl.formula.FormulaType, arg1: collections.abc.Sequence[stormpy.pycarl.formula.Formula]) -> None
__init__(self: stormpy.pycarl.formula.Formula, arg0: bool) -> None
- get_constraint(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Constraint¶
Get constraint of constraint formula
- get_implication_conclusion(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get conclusion of implication formula
- get_implication_premise(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get premise of implication formula
- get_ite_condition(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get condition of ITE formula
- get_ite_first_case(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get then case of ITE formula
- get_ite_second_case(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get else case of ITE formula
- get_negation_subformula(self: stormpy.pycarl.formula.Formula) stormpy.pycarl.formula.Formula¶
Get subformula of negation formula
- get_subformulas(self: stormpy.pycarl.formula.Formula) list[stormpy.pycarl.formula.Formula]¶
Get list of subformulas for n-ary formula
- to_smt2(self: stormpy.pycarl.formula.Formula) str¶
- property type¶
- class SimpleConstraint(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.SimpleConstraint, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.SimpleConstraint, arg0: stormpy.pycarl.cln.Polynomial, arg1: stormpy.pycarl.formula.Relation) -> None
- lhs(self: stormpy.pycarl.formula.SimpleConstraint) stormpy.pycarl.cln.Polynomial¶
Get the left hand side of the constraint
- rel(self: stormpy.pycarl.formula.SimpleConstraint) stormpy.pycarl.formula.Relation¶
Get the relation of the constraint
- class SimpleConstraintRatFunc(*args, **kwargs)¶
Overloaded function.
__init__(self: stormpy.pycarl.formula.SimpleConstraintRatFunc, arg0: bool) -> None
__init__(self: stormpy.pycarl.formula.SimpleConstraintRatFunc, arg0: stormpy.pycarl.cln.FactorizedRationalFunction, arg1: stormpy.pycarl.formula.Relation) -> None
- lhs(self: stormpy.pycarl.formula.SimpleConstraintRatFunc) stormpy.pycarl.cln.FactorizedRationalFunction¶
Get the left hand side of the constraint
- rel(self: stormpy.pycarl.formula.SimpleConstraintRatFunc) stormpy.pycarl.formula.Relation¶
Get the relation of the constraint