This file is indexed.

/usr/share/pyshared/openturns/bayesian.py is in python-openturns 1.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.


"""
Bayesian algorithms.
"""


from sys import version_info
if version_info >= (2,6,0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_bayesian', [dirname(__file__)])
        except ImportError:
            import _bayesian
            return _bayesian
        if fp is not None:
            try:
                _mod = imp.load_module('_bayesian', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _bayesian = swig_import_helper()
    del swig_import_helper
else:
    import _bayesian
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


class SwigPyIterator(_object):
    """Proxy of C++ swig::SwigPyIterator class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _bayesian.delete_SwigPyIterator
    __del__ = lambda self : None;
    def value(self):
        """value(SwigPyIterator self) -> PyObject *"""
        return _bayesian.SwigPyIterator_value(self)

    def incr(self, n=1):
        """
        incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
        incr(SwigPyIterator self) -> SwigPyIterator
        """
        return _bayesian.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        """
        decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
        decr(SwigPyIterator self) -> SwigPyIterator
        """
        return _bayesian.SwigPyIterator_decr(self, n)

    def distance(self, *args):
        """distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
        return _bayesian.SwigPyIterator_distance(self, *args)

    def equal(self, *args):
        """equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
        return _bayesian.SwigPyIterator_equal(self, *args)

    def copy(self):
        """copy(SwigPyIterator self) -> SwigPyIterator"""
        return _bayesian.SwigPyIterator_copy(self)

    def next(self):
        """next(SwigPyIterator self) -> PyObject *"""
        return _bayesian.SwigPyIterator_next(self)

    def __next__(self):
        """__next__(SwigPyIterator self) -> PyObject *"""
        return _bayesian.SwigPyIterator___next__(self)

    def previous(self):
        """previous(SwigPyIterator self) -> PyObject *"""
        return _bayesian.SwigPyIterator_previous(self)

    def advance(self, *args):
        """advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
        return _bayesian.SwigPyIterator_advance(self, *args)

    def __eq__(self, *args):
        """__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
        return _bayesian.SwigPyIterator___eq__(self, *args)

    def __ne__(self, *args):
        """__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
        return _bayesian.SwigPyIterator___ne__(self, *args)

    def __iadd__(self, *args):
        """__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
        return _bayesian.SwigPyIterator___iadd__(self, *args)

    def __isub__(self, *args):
        """__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
        return _bayesian.SwigPyIterator___isub__(self, *args)

    def __add__(self, *args):
        """__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
        return _bayesian.SwigPyIterator___add__(self, *args)

    def __sub__(self, *args):
        """
        __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
        __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
        """
        return _bayesian.SwigPyIterator___sub__(self, *args)

    def __iter__(self): return self
SwigPyIterator_swigregister = _bayesian.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

GCC_VERSION = _bayesian.GCC_VERSION
class TestFailed:
  """
  TestFailed is used to raise an uniform exception in tests
  """
  __type = "TestFailed"
  def __init__(self,reason=""):
    self.reason = reason
  def type(self):
    return TestFailed.__type
  def what(self):
    return self.reason
  def __str__(self):
    return TestFailed.__type + ": " + self.reason
  def __lshift__(self,ch):
    self.reason += ch
    return self

import openturns.common
import openturns.typ
import openturns.wrapper
class TestResult(openturns.common.PersistentObject):
    """Proxy of C++ OT::TestResult class"""
    __swig_setmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, TestResult, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, TestResult, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.TestResult_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(TestResult self) -> OT::String"""
        return _bayesian.TestResult_getClassName(self)

    def setDescription(self, *args):
        """setDescription(TestResult self, Description description)"""
        return _bayesian.TestResult_setDescription(self, *args)

    def getDescription(self):
        """getDescription(TestResult self) -> Description"""
        return _bayesian.TestResult_getDescription(self)

    def __repr__(self):
        """__repr__(TestResult self) -> OT::String"""
        return _bayesian.TestResult___repr__(self)

    def getBinaryQualityMeasure(self):
        """getBinaryQualityMeasure(TestResult self) -> OT::Bool"""
        return _bayesian.TestResult_getBinaryQualityMeasure(self)

    def getPValue(self):
        """getPValue(TestResult self) -> OT::NumericalScalar"""
        return _bayesian.TestResult_getPValue(self)

    def getThreshold(self):
        """getThreshold(TestResult self) -> OT::NumericalScalar"""
        return _bayesian.TestResult_getThreshold(self)

    def getTestType(self):
        """getTestType(TestResult self) -> OT::String"""
        return _bayesian.TestResult_getTestType(self)

    def __eq__(self, *args):
        """__eq__(TestResult self, TestResult other) -> OT::Bool"""
        return _bayesian.TestResult___eq__(self, *args)

    def __init__(self, *args): 
        """
        __init__(OT::TestResult self) -> TestResult
        __init__(OT::TestResult self, OT::String const & type, OT::Bool const binMeasure, OT::NumericalScalar const pVal, 
            OT::NumericalScalar const pThreshold) -> TestResult
        __init__(OT::TestResult self, TestResult other) -> TestResult
        __init__(OT::TestResult self, PyObject * pyObj) -> TestResult
        """
        this = _bayesian.new_TestResult(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_TestResult
    __del__ = lambda self : None;
TestResult_swigregister = _bayesian.TestResult_swigregister
TestResult_swigregister(TestResult)

def TestResult_GetClassName():
  """TestResult_GetClassName() -> OT::String"""
  return _bayesian.TestResult_GetClassName()

import openturns.base
import openturns.statistics
import openturns.graph
import openturns.func
import openturns.geom
import openturns.diff
import openturns.optim
import openturns.solver
import openturns.algo
import openturns.experiment
import openturns.model_copula
import openturns.dist_bundle1
import openturns.dist_bundle2
import openturns.randomvector
class CalibrationStrategyImplementation(openturns.common.PersistentObject):
    """Proxy of C++ OT::CalibrationStrategyImplementation class"""
    __swig_setmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, CalibrationStrategyImplementation, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, CalibrationStrategyImplementation, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.CalibrationStrategyImplementation_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(CalibrationStrategyImplementation self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementation_getClassName(self)

    def __repr__(self):
        """__repr__(CalibrationStrategyImplementation self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementation___repr__(self)

    def setRange(self, *args):
        """setRange(CalibrationStrategyImplementation self, Interval range)"""
        return _bayesian.CalibrationStrategyImplementation_setRange(self, *args)

    def getRange(self):
        """getRange(CalibrationStrategyImplementation self) -> Interval"""
        return _bayesian.CalibrationStrategyImplementation_getRange(self)

    def setExpansionFactor(self, *args):
        """setExpansionFactor(CalibrationStrategyImplementation self, OT::NumericalScalar expansionFactor)"""
        return _bayesian.CalibrationStrategyImplementation_setExpansionFactor(self, *args)

    def getExpansionFactor(self):
        """getExpansionFactor(CalibrationStrategyImplementation self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementation_getExpansionFactor(self)

    def setShrinkFactor(self, *args):
        """setShrinkFactor(CalibrationStrategyImplementation self, OT::NumericalScalar shrinkFactor)"""
        return _bayesian.CalibrationStrategyImplementation_setShrinkFactor(self, *args)

    def getShrinkFactor(self):
        """getShrinkFactor(CalibrationStrategyImplementation self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementation_getShrinkFactor(self)

    def setCalibrationStep(self, *args):
        """setCalibrationStep(CalibrationStrategyImplementation self, OT::UnsignedLong const calibrationStep)"""
        return _bayesian.CalibrationStrategyImplementation_setCalibrationStep(self, *args)

    def getCalibrationStep(self):
        """getCalibrationStep(CalibrationStrategyImplementation self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategyImplementation_getCalibrationStep(self)

    def computeUpdateFactor(self, *args):
        """computeUpdateFactor(CalibrationStrategyImplementation self, OT::NumericalScalar const rho) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementation_computeUpdateFactor(self, *args)

    def __init__(self, *args): 
        """
        __init__(OT::CalibrationStrategyImplementation self, Interval range=OT::Interval(ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultLowerBound"),
                                            ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultUpperBound")), 
            OT::NumericalScalar const expansionFactor=OT::ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultExpansionFactor"), 
            OT::NumericalScalar const shrinkFactor=OT::ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultShrinkFactor"), 
            OT::UnsignedLong const calibrationStep=OT::ResourceMap::GetAsUnsignedLong("CalibrationStrategyImplementation-DefaultCalibrationStep")) -> CalibrationStrategyImplementation
        __init__(OT::CalibrationStrategyImplementation self, Interval range=OT::Interval(ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultLowerBound"),
                                            ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultUpperBound")), 
            OT::NumericalScalar const expansionFactor=OT::ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultExpansionFactor"), 
            OT::NumericalScalar const shrinkFactor=OT::ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultShrinkFactor")) -> CalibrationStrategyImplementation
        __init__(OT::CalibrationStrategyImplementation self, Interval range=OT::Interval(ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultLowerBound"),
                                            ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultUpperBound")), 
            OT::NumericalScalar const expansionFactor=OT::ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultExpansionFactor")) -> CalibrationStrategyImplementation
        __init__(OT::CalibrationStrategyImplementation self, Interval range=OT::Interval(ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultLowerBound"),
                                            ResourceMap::GetAsNumericalScalar("CalibrationStrategyImplementation-DefaultUpperBound"))) -> CalibrationStrategyImplementation
        __init__(OT::CalibrationStrategyImplementation self) -> CalibrationStrategyImplementation
        __init__(OT::CalibrationStrategyImplementation self, CalibrationStrategyImplementation other) -> CalibrationStrategyImplementation
        """
        this = _bayesian.new_CalibrationStrategyImplementation(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_CalibrationStrategyImplementation
    __del__ = lambda self : None;
CalibrationStrategyImplementation_swigregister = _bayesian.CalibrationStrategyImplementation_swigregister
CalibrationStrategyImplementation_swigregister(CalibrationStrategyImplementation)

def CalibrationStrategyImplementation_GetClassName():
  """CalibrationStrategyImplementation_GetClassName() -> OT::String"""
  return _bayesian.CalibrationStrategyImplementation_GetClassName()

class CalibrationStrategyImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
    """Proxy of C++ OT::TypedInterfaceObject<(OT::CalibrationStrategyImplementation)> class"""
    __swig_setmethods__ = {}
    for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, CalibrationStrategyImplementationTypedInterfaceObject, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, CalibrationStrategyImplementationTypedInterfaceObject, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(OT::TypedInterfaceObject<(OT::CalibrationStrategyImplementation)> self) -> CalibrationStrategyImplementationTypedInterfaceObject
        __init__(OT::TypedInterfaceObject<(OT::CalibrationStrategyImplementation)> self, CalibrationStrategyImplementationPointer impl) -> CalibrationStrategyImplementationTypedInterfaceObject
        """
        this = _bayesian.new_CalibrationStrategyImplementationTypedInterfaceObject(*args)
        try: self.this.append(this)
        except: self.this = this
    def getImplementation(self, *args):
        """
        getImplementation(CalibrationStrategyImplementationTypedInterfaceObject self) -> CalibrationStrategyImplementationPointer
        getImplementation(CalibrationStrategyImplementationTypedInterfaceObject self) -> CalibrationStrategyImplementationPointer
        """
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_getImplementation(self, *args)

    def getImplementationAsPersistentObject(self):
        """getImplementationAsPersistentObject(CalibrationStrategyImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)

    def setImplementationAsPersistentObject(self, *args):
        """setImplementationAsPersistentObject(CalibrationStrategyImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)

    def swap(self, *args):
        """swap(CalibrationStrategyImplementationTypedInterfaceObject self, CalibrationStrategyImplementationTypedInterfaceObject other)"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_swap(self, *args)

    def setName(self, *args):
        """setName(CalibrationStrategyImplementationTypedInterfaceObject self, OT::String const & name)"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_setName(self, *args)

    def getName(self):
        """getName(CalibrationStrategyImplementationTypedInterfaceObject self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_getName(self)

    def __eq__(self, *args):
        """__eq__(CalibrationStrategyImplementationTypedInterfaceObject self, CalibrationStrategyImplementationTypedInterfaceObject other) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationTypedInterfaceObject___eq__(self, *args)

    __swig_destroy__ = _bayesian.delete_CalibrationStrategyImplementationTypedInterfaceObject
    __del__ = lambda self : None;
CalibrationStrategyImplementationTypedInterfaceObject_swigregister = _bayesian.CalibrationStrategyImplementationTypedInterfaceObject_swigregister
CalibrationStrategyImplementationTypedInterfaceObject_swigregister(CalibrationStrategyImplementationTypedInterfaceObject)

class CalibrationStrategyCollection(_object):
    """Proxy of C++ OT::Collection<(OT::CalibrationStrategy)> class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, CalibrationStrategyCollection, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, CalibrationStrategyCollection, name)
    __swig_destroy__ = _bayesian.delete_CalibrationStrategyCollection
    __del__ = lambda self : None;
    def clear(self):
        """clear(CalibrationStrategyCollection self)"""
        return _bayesian.CalibrationStrategyCollection_clear(self)

    def __len__(self):
        """__len__(CalibrationStrategyCollection self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategyCollection___len__(self)

    def __eq__(self, *args):
        """__eq__(CalibrationStrategyCollection self, CalibrationStrategyCollection rhs) -> OT::Bool"""
        return _bayesian.CalibrationStrategyCollection___eq__(self, *args)

    def __contains__(self, *args):
        """__contains__(CalibrationStrategyCollection self, CalibrationStrategy val) -> OT::Bool"""
        return _bayesian.CalibrationStrategyCollection___contains__(self, *args)

    def __getitem__(self, *args):
        """__getitem__(CalibrationStrategyCollection self, OT::UnsignedLong const i) -> CalibrationStrategy"""
        return _bayesian.CalibrationStrategyCollection___getitem__(self, *args)

    def __setitem__(self, *args):
        """__setitem__(CalibrationStrategyCollection self, OT::UnsignedLong const i, CalibrationStrategy val)"""
        return _bayesian.CalibrationStrategyCollection___setitem__(self, *args)

    def __delitem__(self, *args):
        """__delitem__(CalibrationStrategyCollection self, OT::UnsignedLong const i)"""
        return _bayesian.CalibrationStrategyCollection___delitem__(self, *args)

    def at(self, *args):
        """
        at(CalibrationStrategyCollection self, OT::UnsignedLong const i) -> CalibrationStrategy
        at(CalibrationStrategyCollection self, OT::UnsignedLong const i) -> CalibrationStrategy
        """
        return _bayesian.CalibrationStrategyCollection_at(self, *args)

    def add(self, *args):
        """
        add(CalibrationStrategyCollection self, CalibrationStrategy elt)
        add(CalibrationStrategyCollection self, CalibrationStrategyCollection coll)
        """
        return _bayesian.CalibrationStrategyCollection_add(self, *args)

    def getSize(self):
        """getSize(CalibrationStrategyCollection self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategyCollection_getSize(self)

    def resize(self, *args):
        """resize(CalibrationStrategyCollection self, OT::UnsignedLong const newSize)"""
        return _bayesian.CalibrationStrategyCollection_resize(self, *args)

    def isEmpty(self):
        """isEmpty(CalibrationStrategyCollection self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyCollection_isEmpty(self)

    def __repr__(self):
        """__repr__(CalibrationStrategyCollection self) -> OT::String"""
        return _bayesian.CalibrationStrategyCollection___repr__(self)

    def __str__(self, offset=""):
        """
        __str__(CalibrationStrategyCollection self, OT::String const & offset="") -> OT::String
        __str__(CalibrationStrategyCollection self) -> OT::String
        """
        return _bayesian.CalibrationStrategyCollection___str__(self, offset)

    def __init__(self, *args): 
        """
        __init__(OT::Collection<(OT::CalibrationStrategy)> self) -> CalibrationStrategyCollection
        __init__(OT::Collection<(OT::CalibrationStrategy)> self, OT::UnsignedLong const size) -> CalibrationStrategyCollection
        __init__(OT::Collection<(OT::CalibrationStrategy)> self, OT::UnsignedLong const size, CalibrationStrategy value) -> CalibrationStrategyCollection
        __init__(OT::Collection<(OT::CalibrationStrategy)> self, PyObject * pyObj) -> CalibrationStrategyCollection
        __init__(OT::Collection<(OT::CalibrationStrategy)> self, CalibrationStrategyCollection other) -> CalibrationStrategyCollection
        """
        this = _bayesian.new_CalibrationStrategyCollection(*args)
        try: self.this.append(this)
        except: self.this = this
CalibrationStrategyCollection_swigregister = _bayesian.CalibrationStrategyCollection_swigregister
CalibrationStrategyCollection_swigregister(CalibrationStrategyCollection)

class CalibrationStrategy(CalibrationStrategyImplementationTypedInterfaceObject):
    """Proxy of C++ OT::CalibrationStrategy class"""
    __swig_setmethods__ = {}
    for _s in [CalibrationStrategyImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, CalibrationStrategy, name, value)
    __swig_getmethods__ = {}
    for _s in [CalibrationStrategyImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, CalibrationStrategy, name)
    __repr__ = _swig_repr
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.CalibrationStrategy_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(CalibrationStrategy self) -> OT::String"""
        return _bayesian.CalibrationStrategy_getClassName(self)

    def setRange(self, *args):
        """setRange(CalibrationStrategy self, Interval range)"""
        return _bayesian.CalibrationStrategy_setRange(self, *args)

    def getRange(self):
        """getRange(CalibrationStrategy self) -> Interval"""
        return _bayesian.CalibrationStrategy_getRange(self)

    def setExpansionFactor(self, *args):
        """setExpansionFactor(CalibrationStrategy self, OT::NumericalScalar const expansionFactor)"""
        return _bayesian.CalibrationStrategy_setExpansionFactor(self, *args)

    def getExpansionFactor(self):
        """getExpansionFactor(CalibrationStrategy self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategy_getExpansionFactor(self)

    def setShrinkFactor(self, *args):
        """setShrinkFactor(CalibrationStrategy self, OT::NumericalScalar const shrinkFactor)"""
        return _bayesian.CalibrationStrategy_setShrinkFactor(self, *args)

    def getShrinkFactor(self):
        """getShrinkFactor(CalibrationStrategy self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategy_getShrinkFactor(self)

    def setCalibrationStep(self, *args):
        """setCalibrationStep(CalibrationStrategy self, OT::UnsignedLong const calibrationStep)"""
        return _bayesian.CalibrationStrategy_setCalibrationStep(self, *args)

    def getCalibrationStep(self):
        """getCalibrationStep(CalibrationStrategy self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategy_getCalibrationStep(self)

    def computeUpdateFactor(self, *args):
        """computeUpdateFactor(CalibrationStrategy self, OT::NumericalScalar const rho) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategy_computeUpdateFactor(self, *args)

    def __str__(self):
        """__str__(CalibrationStrategy self) -> OT::String const"""
        return _bayesian.CalibrationStrategy___str__(self)

    def __init__(self, *args): 
        """
        __init__(OT::CalibrationStrategy self) -> CalibrationStrategy
        __init__(OT::CalibrationStrategy self, Interval range) -> CalibrationStrategy
        __init__(OT::CalibrationStrategy self, Interval range, OT::NumericalScalar const expansionFactor, OT::NumericalScalar const shrinkFactor) -> CalibrationStrategy
        __init__(OT::CalibrationStrategy self, Interval range, OT::NumericalScalar const expansionFactor, OT::NumericalScalar const shrinkFactor, 
            OT::UnsignedLong const calibrationStep) -> CalibrationStrategy
        __init__(OT::CalibrationStrategy self, CalibrationStrategyImplementation op) -> CalibrationStrategy
        __init__(OT::CalibrationStrategy self, CalibrationStrategy other) -> CalibrationStrategy
        """
        this = _bayesian.new_CalibrationStrategy(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_CalibrationStrategy
    __del__ = lambda self : None;
CalibrationStrategy_swigregister = _bayesian.CalibrationStrategy_swigregister
CalibrationStrategy_swigregister(CalibrationStrategy)

def CalibrationStrategy_GetClassName():
  """CalibrationStrategy_GetClassName() -> OT::String"""
  return _bayesian.CalibrationStrategy_GetClassName()

class SamplerImplementation(openturns.common.PersistentObject):
    """Proxy of C++ OT::SamplerImplementation class"""
    __swig_setmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, SamplerImplementation, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, SamplerImplementation, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.SamplerImplementation_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(SamplerImplementation self) -> OT::String"""
        return _bayesian.SamplerImplementation_getClassName(self)

    def setVerbose(self, *args):
        """setVerbose(SamplerImplementation self, OT::Bool const verbose)"""
        return _bayesian.SamplerImplementation_setVerbose(self, *args)

    def getVerbose(self):
        """getVerbose(SamplerImplementation self) -> OT::Bool"""
        return _bayesian.SamplerImplementation_getVerbose(self)

    def __repr__(self):
        """__repr__(SamplerImplementation self) -> OT::String"""
        return _bayesian.SamplerImplementation___repr__(self)

    def getDimension(self):
        """getDimension(SamplerImplementation self) -> OT::UnsignedLong"""
        return _bayesian.SamplerImplementation_getDimension(self)

    def getRealization(self):
        """getRealization(SamplerImplementation self) -> NumericalPoint"""
        return _bayesian.SamplerImplementation_getRealization(self)

    def getSample(self, *args):
        """getSample(SamplerImplementation self, OT::UnsignedLong const size) -> NumericalSample"""
        return _bayesian.SamplerImplementation_getSample(self, *args)

    def __init__(self, *args): 
        """
        __init__(OT::SamplerImplementation self) -> SamplerImplementation
        __init__(OT::SamplerImplementation self, SamplerImplementation other) -> SamplerImplementation
        """
        this = _bayesian.new_SamplerImplementation(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_SamplerImplementation
    __del__ = lambda self : None;
SamplerImplementation_swigregister = _bayesian.SamplerImplementation_swigregister
SamplerImplementation_swigregister(SamplerImplementation)

def SamplerImplementation_GetClassName():
  """SamplerImplementation_GetClassName() -> OT::String"""
  return _bayesian.SamplerImplementation_GetClassName()

class SamplerImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
    """Proxy of C++ OT::TypedInterfaceObject<(OT::SamplerImplementation)> class"""
    __swig_setmethods__ = {}
    for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, SamplerImplementationTypedInterfaceObject, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, SamplerImplementationTypedInterfaceObject, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(OT::TypedInterfaceObject<(OT::SamplerImplementation)> self) -> SamplerImplementationTypedInterfaceObject
        __init__(OT::TypedInterfaceObject<(OT::SamplerImplementation)> self, OT::TypedInterfaceObject< OT::SamplerImplementation >::Implementation const & impl) -> SamplerImplementationTypedInterfaceObject
        """
        this = _bayesian.new_SamplerImplementationTypedInterfaceObject(*args)
        try: self.this.append(this)
        except: self.this = this
    def getImplementation(self, *args):
        """
        getImplementation(SamplerImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::SamplerImplementation >::Implementation
        getImplementation(SamplerImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::SamplerImplementation >::Implementation const &
        """
        return _bayesian.SamplerImplementationTypedInterfaceObject_getImplementation(self, *args)

    def getImplementationAsPersistentObject(self):
        """getImplementationAsPersistentObject(SamplerImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
        return _bayesian.SamplerImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)

    def setImplementationAsPersistentObject(self, *args):
        """setImplementationAsPersistentObject(SamplerImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
        return _bayesian.SamplerImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)

    def swap(self, *args):
        """swap(SamplerImplementationTypedInterfaceObject self, SamplerImplementationTypedInterfaceObject other)"""
        return _bayesian.SamplerImplementationTypedInterfaceObject_swap(self, *args)

    def setName(self, *args):
        """setName(SamplerImplementationTypedInterfaceObject self, OT::String const & name)"""
        return _bayesian.SamplerImplementationTypedInterfaceObject_setName(self, *args)

    def getName(self):
        """getName(SamplerImplementationTypedInterfaceObject self) -> OT::String"""
        return _bayesian.SamplerImplementationTypedInterfaceObject_getName(self)

    def __eq__(self, *args):
        """__eq__(SamplerImplementationTypedInterfaceObject self, SamplerImplementationTypedInterfaceObject other) -> OT::Bool"""
        return _bayesian.SamplerImplementationTypedInterfaceObject___eq__(self, *args)

    __swig_destroy__ = _bayesian.delete_SamplerImplementationTypedInterfaceObject
    __del__ = lambda self : None;
SamplerImplementationTypedInterfaceObject_swigregister = _bayesian.SamplerImplementationTypedInterfaceObject_swigregister
SamplerImplementationTypedInterfaceObject_swigregister(SamplerImplementationTypedInterfaceObject)

class Sampler(SamplerImplementationTypedInterfaceObject):
    """Proxy of C++ OT::Sampler class"""
    __swig_setmethods__ = {}
    for _s in [SamplerImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Sampler, name, value)
    __swig_getmethods__ = {}
    for _s in [SamplerImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, Sampler, name)
    __repr__ = _swig_repr
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.Sampler_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(Sampler self) -> OT::String"""
        return _bayesian.Sampler_getClassName(self)

    def setVerbose(self, *args):
        """setVerbose(Sampler self, OT::Bool const verbose)"""
        return _bayesian.Sampler_setVerbose(self, *args)

    def getVerbose(self):
        """getVerbose(Sampler self) -> OT::Bool"""
        return _bayesian.Sampler_getVerbose(self)

    def getDimension(self):
        """getDimension(Sampler self) -> OT::UnsignedLong"""
        return _bayesian.Sampler_getDimension(self)

    def getRealization(self):
        """getRealization(Sampler self) -> NumericalPoint"""
        return _bayesian.Sampler_getRealization(self)

    def getSample(self, *args):
        """getSample(Sampler self, OT::UnsignedLong const size) -> NumericalSample"""
        return _bayesian.Sampler_getSample(self, *args)

    def __str__(self):
        """__str__(Sampler self) -> OT::String const"""
        return _bayesian.Sampler___str__(self)

    def __init__(self, *args): 
        """
        __init__(OT::Sampler self) -> Sampler
        __init__(OT::Sampler self, SamplerImplementation op) -> Sampler
        __init__(OT::Sampler self, Sampler other) -> Sampler
        """
        this = _bayesian.new_Sampler(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_Sampler
    __del__ = lambda self : None;
Sampler_swigregister = _bayesian.Sampler_swigregister
Sampler_swigregister(Sampler)

def Sampler_GetClassName():
  """Sampler_GetClassName() -> OT::String"""
  return _bayesian.Sampler_GetClassName()

class MCMC(SamplerImplementation):
    """Proxy of C++ OT::MCMC class"""
    __swig_setmethods__ = {}
    for _s in [SamplerImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, MCMC, name, value)
    __swig_getmethods__ = {}
    for _s in [SamplerImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, MCMC, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.MCMC_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(MCMC self) -> OT::String"""
        return _bayesian.MCMC_getClassName(self)

    def __repr__(self):
        """__repr__(MCMC self) -> OT::String"""
        return _bayesian.MCMC___repr__(self)

    def computeLogLikelihood(self, *args):
        """computeLogLikelihood(MCMC self, NumericalPoint currentState) -> OT::NumericalScalar"""
        return _bayesian.MCMC_computeLogLikelihood(self, *args)

    def setPrior(self, *args):
        """setPrior(MCMC self, Distribution prior)"""
        return _bayesian.MCMC_setPrior(self, *args)

    def getPrior(self):
        """getPrior(MCMC self) -> Distribution"""
        return _bayesian.MCMC_getPrior(self)

    def getConditional(self):
        """getConditional(MCMC self) -> Distribution"""
        return _bayesian.MCMC_getConditional(self)

    def getModel(self):
        """getModel(MCMC self) -> NumericalMathFunction"""
        return _bayesian.MCMC_getModel(self)

    def setObservations(self, *args):
        """setObservations(MCMC self, NumericalSample observations)"""
        return _bayesian.MCMC_setObservations(self, *args)

    def getObservations(self):
        """getObservations(MCMC self) -> NumericalSample"""
        return _bayesian.MCMC_getObservations(self)

    def setBurnIn(self, *args):
        """setBurnIn(MCMC self, OT::UnsignedLong burnIn)"""
        return _bayesian.MCMC_setBurnIn(self, *args)

    def getBurnIn(self):
        """getBurnIn(MCMC self) -> OT::UnsignedLong"""
        return _bayesian.MCMC_getBurnIn(self)

    def setThinning(self, *args):
        """setThinning(MCMC self, OT::UnsignedLong thinning)"""
        return _bayesian.MCMC_setThinning(self, *args)

    def getThinning(self):
        """getThinning(MCMC self) -> OT::UnsignedLong"""
        return _bayesian.MCMC_getThinning(self)

    def getDimension(self):
        """getDimension(MCMC self) -> OT::UnsignedLong"""
        return _bayesian.MCMC_getDimension(self)

    def __init__(self, *args): 
        """
        __init__(OT::MCMC self) -> MCMC
        __init__(OT::MCMC self, Distribution prior, Distribution conditional, NumericalSample observations, NumericalPoint initialState) -> MCMC
        __init__(OT::MCMC self, Distribution prior, Distribution conditional, NumericalMathFunction model, NumericalSample observations, 
            NumericalPoint initialState) -> MCMC
        __init__(OT::MCMC self, MCMC other) -> MCMC
        """
        this = _bayesian.new_MCMC(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_MCMC
    __del__ = lambda self : None;
MCMC_swigregister = _bayesian.MCMC_swigregister
MCMC_swigregister(MCMC)

def MCMC_GetClassName():
  """MCMC_GetClassName() -> OT::String"""
  return _bayesian.MCMC_GetClassName()

class RandomWalkMetropolisHastings(MCMC):
    """Proxy of C++ OT::RandomWalkMetropolisHastings class"""
    __swig_setmethods__ = {}
    for _s in [MCMC]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, RandomWalkMetropolisHastings, name, value)
    __swig_getmethods__ = {}
    for _s in [MCMC]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, RandomWalkMetropolisHastings, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.RandomWalkMetropolisHastings_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(RandomWalkMetropolisHastings self) -> OT::String"""
        return _bayesian.RandomWalkMetropolisHastings_getClassName(self)

    def __repr__(self):
        """__repr__(RandomWalkMetropolisHastings self) -> OT::String"""
        return _bayesian.RandomWalkMetropolisHastings___repr__(self)

    def getRealization(self):
        """getRealization(RandomWalkMetropolisHastings self) -> NumericalPoint"""
        return _bayesian.RandomWalkMetropolisHastings_getRealization(self)

    def setCalibrationStrategy(self, *args):
        """setCalibrationStrategy(RandomWalkMetropolisHastings self, CalibrationStrategy calibrationStrategy)"""
        return _bayesian.RandomWalkMetropolisHastings_setCalibrationStrategy(self, *args)

    def setCalibrationStrategyPerComponent(self, *args):
        """setCalibrationStrategyPerComponent(RandomWalkMetropolisHastings self, CalibrationStrategyCollection calibrationStrategy)"""
        return _bayesian.RandomWalkMetropolisHastings_setCalibrationStrategyPerComponent(self, *args)

    def getCalibrationStrategyPerComponent(self):
        """getCalibrationStrategyPerComponent(RandomWalkMetropolisHastings self) -> CalibrationStrategyCollection"""
        return _bayesian.RandomWalkMetropolisHastings_getCalibrationStrategyPerComponent(self)

    def setProposal(self, *args):
        """setProposal(RandomWalkMetropolisHastings self, DistributionCollection proposal)"""
        return _bayesian.RandomWalkMetropolisHastings_setProposal(self, *args)

    def getProposal(self):
        """getProposal(RandomWalkMetropolisHastings self) -> DistributionCollection"""
        return _bayesian.RandomWalkMetropolisHastings_getProposal(self)

    def getAcceptanceRate(self):
        """getAcceptanceRate(RandomWalkMetropolisHastings self) -> NumericalPoint"""
        return _bayesian.RandomWalkMetropolisHastings_getAcceptanceRate(self)

    def __init__(self, *args): 
        """
        __init__(OT::RandomWalkMetropolisHastings self) -> RandomWalkMetropolisHastings
        __init__(OT::RandomWalkMetropolisHastings self, Distribution prior, Distribution conditional, NumericalSample observations, NumericalPoint initialState, 
            DistributionCollection proposal) -> RandomWalkMetropolisHastings
        __init__(OT::RandomWalkMetropolisHastings self, Distribution prior, Distribution conditional, NumericalMathFunction model, NumericalSample observations, 
            NumericalPoint initialState, DistributionCollection proposal) -> RandomWalkMetropolisHastings
        __init__(OT::RandomWalkMetropolisHastings self, RandomWalkMetropolisHastings other) -> RandomWalkMetropolisHastings
        """
        this = _bayesian.new_RandomWalkMetropolisHastings(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_RandomWalkMetropolisHastings
    __del__ = lambda self : None;
RandomWalkMetropolisHastings_swigregister = _bayesian.RandomWalkMetropolisHastings_swigregister
RandomWalkMetropolisHastings_swigregister(RandomWalkMetropolisHastings)

def RandomWalkMetropolisHastings_GetClassName():
  """RandomWalkMetropolisHastings_GetClassName() -> OT::String"""
  return _bayesian.RandomWalkMetropolisHastings_GetClassName()

class PosteriorRandomVector(openturns.randomvector.RandomVectorImplementation):
    """Proxy of C++ OT::PosteriorRandomVector class"""
    __swig_setmethods__ = {}
    for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, PosteriorRandomVector, name, value)
    __swig_getmethods__ = {}
    for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, PosteriorRandomVector, name)
    def GetClassName():
        """GetClassName() -> OT::String"""
        return _bayesian.PosteriorRandomVector_GetClassName()

    if _newclass:GetClassName = staticmethod(GetClassName)
    __swig_getmethods__["GetClassName"] = lambda x: GetClassName
    def getClassName(self):
        """getClassName(PosteriorRandomVector self) -> OT::String"""
        return _bayesian.PosteriorRandomVector_getClassName(self)

    def __repr__(self):
        """__repr__(PosteriorRandomVector self) -> OT::String"""
        return _bayesian.PosteriorRandomVector___repr__(self)

    def getSampler(self):
        """getSampler(PosteriorRandomVector self) -> Sampler"""
        return _bayesian.PosteriorRandomVector_getSampler(self)

    def getDimension(self):
        """getDimension(PosteriorRandomVector self) -> OT::UnsignedLong"""
        return _bayesian.PosteriorRandomVector_getDimension(self)

    def getRealization(self):
        """getRealization(PosteriorRandomVector self) -> NumericalPoint"""
        return _bayesian.PosteriorRandomVector_getRealization(self)

    def getSample(self, *args):
        """getSample(PosteriorRandomVector self, OT::UnsignedLong const size) -> NumericalSample"""
        return _bayesian.PosteriorRandomVector_getSample(self, *args)

    def __init__(self, *args): 
        """
        __init__(OT::PosteriorRandomVector self, Sampler sampler) -> PosteriorRandomVector
        __init__(OT::PosteriorRandomVector self, PosteriorRandomVector other) -> PosteriorRandomVector
        """
        this = _bayesian.new_PosteriorRandomVector(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_PosteriorRandomVector
    __del__ = lambda self : None;
PosteriorRandomVector_swigregister = _bayesian.PosteriorRandomVector_swigregister
PosteriorRandomVector_swigregister(PosteriorRandomVector)

def PosteriorRandomVector_GetClassName():
  """PosteriorRandomVector_GetClassName() -> OT::String"""
  return _bayesian.PosteriorRandomVector_GetClassName()

class CalibrationStrategyImplementationPointer(_object):
    """Proxy of C++ OT::Pointer<(OT::CalibrationStrategyImplementation)> class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, CalibrationStrategyImplementationPointer, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, CalibrationStrategyImplementationPointer, name)
    __swig_setmethods__["ptr_"] = _bayesian.CalibrationStrategyImplementationPointer_ptr__set
    __swig_getmethods__["ptr_"] = _bayesian.CalibrationStrategyImplementationPointer_ptr__get
    if _newclass:ptr_ = _swig_property(_bayesian.CalibrationStrategyImplementationPointer_ptr__get, _bayesian.CalibrationStrategyImplementationPointer_ptr__set)
    def __init__(self, *args): 
        """
        __init__(OT::Pointer<(OT::CalibrationStrategyImplementation)> self) -> CalibrationStrategyImplementationPointer
        __init__(OT::Pointer<(OT::CalibrationStrategyImplementation)> self, CalibrationStrategyImplementation ptr) -> CalibrationStrategyImplementationPointer
        """
        this = _bayesian.new_CalibrationStrategyImplementationPointer(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _bayesian.delete_CalibrationStrategyImplementationPointer
    __del__ = lambda self : None;
    def reset(self):
        """reset(CalibrationStrategyImplementationPointer self)"""
        return _bayesian.CalibrationStrategyImplementationPointer_reset(self)

    def __ref__(self, *args):
        """
        __ref__(CalibrationStrategyImplementationPointer self) -> CalibrationStrategyImplementation
        __ref__(CalibrationStrategyImplementationPointer self) -> CalibrationStrategyImplementation
        """
        return _bayesian.CalibrationStrategyImplementationPointer___ref__(self, *args)

    def __deref__(self):
        """__deref__(CalibrationStrategyImplementationPointer self) -> CalibrationStrategyImplementation"""
        return _bayesian.CalibrationStrategyImplementationPointer___deref__(self)

    def isNull(self):
        """isNull(CalibrationStrategyImplementationPointer self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_isNull(self)

    def __nonzero__(self):
        return _bayesian.CalibrationStrategyImplementationPointer___nonzero__(self)
    __bool__ = __nonzero__


    def get(self):
        """get(CalibrationStrategyImplementationPointer self) -> CalibrationStrategyImplementation"""
        return _bayesian.CalibrationStrategyImplementationPointer_get(self)

    def getImplementation(self):
        """getImplementation(CalibrationStrategyImplementationPointer self) -> OT::Pointer< OT::CalibrationStrategyImplementation >::pointer_type const &"""
        return _bayesian.CalibrationStrategyImplementationPointer_getImplementation(self)

    def unique(self):
        """unique(CalibrationStrategyImplementationPointer self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_unique(self)

    def use_count(self):
        """use_count(CalibrationStrategyImplementationPointer self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategyImplementationPointer_use_count(self)

    def swap(self, *args):
        """swap(CalibrationStrategyImplementationPointer self, CalibrationStrategyImplementationPointer other)"""
        return _bayesian.CalibrationStrategyImplementationPointer_swap(self, *args)

    def GetClassName(self):
        """GetClassName(CalibrationStrategyImplementationPointer self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementationPointer_GetClassName(self)

    def getClassName(self):
        """getClassName(CalibrationStrategyImplementationPointer self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementationPointer_getClassName(self)

    def __repr__(self):
        """__repr__(CalibrationStrategyImplementationPointer self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementationPointer___repr__(self)

    def setRange(self, *args):
        """setRange(CalibrationStrategyImplementationPointer self, Interval range)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setRange(self, *args)

    def getRange(self):
        """getRange(CalibrationStrategyImplementationPointer self) -> Interval"""
        return _bayesian.CalibrationStrategyImplementationPointer_getRange(self)

    def setExpansionFactor(self, *args):
        """setExpansionFactor(CalibrationStrategyImplementationPointer self, OT::NumericalScalar expansionFactor)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setExpansionFactor(self, *args)

    def getExpansionFactor(self):
        """getExpansionFactor(CalibrationStrategyImplementationPointer self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementationPointer_getExpansionFactor(self)

    def setShrinkFactor(self, *args):
        """setShrinkFactor(CalibrationStrategyImplementationPointer self, OT::NumericalScalar shrinkFactor)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setShrinkFactor(self, *args)

    def getShrinkFactor(self):
        """getShrinkFactor(CalibrationStrategyImplementationPointer self) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementationPointer_getShrinkFactor(self)

    def setCalibrationStep(self, *args):
        """setCalibrationStep(CalibrationStrategyImplementationPointer self, OT::UnsignedLong const calibrationStep)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setCalibrationStep(self, *args)

    def getCalibrationStep(self):
        """getCalibrationStep(CalibrationStrategyImplementationPointer self) -> OT::UnsignedLong"""
        return _bayesian.CalibrationStrategyImplementationPointer_getCalibrationStep(self)

    def computeUpdateFactor(self, *args):
        """computeUpdateFactor(CalibrationStrategyImplementationPointer self, OT::NumericalScalar const rho) -> OT::NumericalScalar"""
        return _bayesian.CalibrationStrategyImplementationPointer_computeUpdateFactor(self, *args)

    def __eq__(self, *args):
        """__eq__(CalibrationStrategyImplementationPointer self, PersistentObject other) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer___eq__(self, *args)

    def Is(self, *args):
        """Is(CalibrationStrategyImplementationPointer self, PersistentObject other) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_Is(self, *args)

    def __str__(self, offset=""):
        """
        __str__(CalibrationStrategyImplementationPointer self, OT::String const & offset="") -> OT::String
        __str__(CalibrationStrategyImplementationPointer self) -> OT::String
        """
        return _bayesian.CalibrationStrategyImplementationPointer___str__(self, offset)

    def getId(self):
        """getId(CalibrationStrategyImplementationPointer self) -> OT::Id"""
        return _bayesian.CalibrationStrategyImplementationPointer_getId(self)

    def setShadowedId(self, *args):
        """setShadowedId(CalibrationStrategyImplementationPointer self, OT::Id id)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setShadowedId(self, *args)

    def getShadowedId(self):
        """getShadowedId(CalibrationStrategyImplementationPointer self) -> OT::Id"""
        return _bayesian.CalibrationStrategyImplementationPointer_getShadowedId(self)

    def setVisibility(self, *args):
        """setVisibility(CalibrationStrategyImplementationPointer self, OT::Bool visible)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setVisibility(self, *args)

    def getVisibility(self):
        """getVisibility(CalibrationStrategyImplementationPointer self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_getVisibility(self)

    def hasName(self):
        """hasName(CalibrationStrategyImplementationPointer self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_hasName(self)

    def hasVisibleName(self):
        """hasVisibleName(CalibrationStrategyImplementationPointer self) -> OT::Bool"""
        return _bayesian.CalibrationStrategyImplementationPointer_hasVisibleName(self)

    def getName(self):
        """getName(CalibrationStrategyImplementationPointer self) -> OT::String"""
        return _bayesian.CalibrationStrategyImplementationPointer_getName(self)

    def setName(self, *args):
        """setName(CalibrationStrategyImplementationPointer self, OT::String const & name)"""
        return _bayesian.CalibrationStrategyImplementationPointer_setName(self, *args)

CalibrationStrategyImplementationPointer_swigregister = _bayesian.CalibrationStrategyImplementationPointer_swigregister
CalibrationStrategyImplementationPointer_swigregister(CalibrationStrategyImplementationPointer)

# This file is compatible with both classic and new-style classes.