summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-07-23 17:13:39 +0800
committerPeng Wu <alexepico@gmail.com>2011-07-23 17:13:39 +0800
commit4e18ee54f475ee6ca588d9504c627a4dfa409645 (patch)
treed85bba43c17df8465642af0115cb6abe5c111c03 /lib
parentabead147cd1eea3ff7ba8b34055374a8ad812464 (diff)
downloadtrainer-4e18ee54f475ee6ca588d9504c627a4dfa409645.tar.gz
trainer-4e18ee54f475ee6ca588d9504c627a4dfa409645.tar.xz
trainer-4e18ee54f475ee6ca588d9504c627a4dfa409645.zip
write generate.py in progress
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py
index bea11a3..38a3e53 100644
--- a/lib/myconfig.py
+++ b/lib/myconfig.py
@@ -56,6 +56,16 @@ class MyConfig:
def getCandidateModelName(self, index):
return self.m_candidate_model_name.format(index)
+
+ m_maximum_occurs_allowed = 20
+
+ def getMaximumOccurs(self):
+ return self.m_maximum_occurs_allowed
+
+ m_maximum_increase_rates_allowed = 3.
+
+ def getMaximumIncreaseRates(self):
+ return self.m_maximum_increase_rate_allowed
m_segment_postfix = '.segmented'