[go: up one dir, main page]

Menu

[r81]: / model.py  Maximize  Restore  History

Download this file

24 lines (19 with data), 508 Bytes

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