OSDN Git Service

File system path for statndalone version
[minimpy2/mp2.git] / model.py
1 #! /usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 class Model(object):
5     BCM = 0
6     NM = 1
7
8     MB = 0
9     rng = 1
10     SD = 2
11     var = 3
12
13     def __init__(self):
14         self.allocations = None
15         self.prob_method = self.BCM
16         self.distance_measure = self.MB
17         self.high_prob = 0.7
18         self.min_group = 0
19         self.groups = [0, 1, 2]
20         self.variables = [[0, 1], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]]
21         self.variables_weight = [1, 1]
22         self.allocation_ratio = [1, 2, 3]
23         self.arms_weight = 1.0
24