Coverage for picos/expressions/uncertain/__init__.py: 100.00%

14 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-03-26 07:46 +0000

1# ------------------------------------------------------------------------------ 

2# Copyright (C) 2020 Maximilian Stahlberg 

3# 

4# This file is part of PICOS. 

5# 

6# PICOS is free software: you can redistribute it and/or modify it under the 

7# terms of the GNU General Public License as published by the Free Software 

8# Foundation, either version 3 of the License, or (at your option) any later 

9# version. 

10# 

11# PICOS is distributed in the hope that it will be useful, but WITHOUT ANY 

12# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 

13# A PARTICULAR PURPOSE. See the GNU General Public License for more details. 

14# 

15# You should have received a copy of the GNU General Public License along with 

16# this program. If not, see <http://www.gnu.org/licenses/>. 

17# ------------------------------------------------------------------------------ 

18 

19"""Expression types with an explicit representation of data uncertainty.""" 

20 

21from ...apidoc import api_end, api_start 

22 

23_API_START = api_start(globals()) 

24# ------------------------------- 

25 

26 

27from .perturbation import Perturbation, PerturbationUniverse # noqa 

28from .pert_conic import ConicPerturbationSet, UnitBallPerturbationSet # noqa 

29from .pert_moment import MomentAmbiguitySet # noqa 

30from .pert_scenario import ScenarioPerturbationSet # noqa 

31from .pert_wasserstein import WassersteinAmbiguitySet # noqa 

32from .uexpression import IntractableWorstCase, UncertainExpression # noqa 

33from .uexp_affine import UncertainAffineExpression # noqa 

34from .uexp_rand_pwl import (RandomExtremumAffine, RandomMaximumAffine, # noqa 

35 RandomMinimumAffine) 

36from .uexp_norm import UncertainNorm # noqa 

37from .uexp_sqnorm import UncertainSquaredNorm # noqa 

38 

39 

40# -------------------------------------- 

41__all__ = api_end(_API_START, globals())