From 4e18ee54f475ee6ca588d9504c627a4dfa409645 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sat, 23 Jul 2011 17:13:39 +0800 Subject: write generate.py in progress --- lib/myconfig.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') 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' -- cgit