From f2cce92f790dbceef5bbbbefb6d6989f17701628 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sat, 23 Jul 2011 20:23:40 +0800 Subject: begin to write estimate.py --- lib/myconfig.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/myconfig.py b/lib/myconfig.py index 7a81b60..0032348 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -65,6 +65,9 @@ class MyConfig: candidate_model_size = 11.9 * 1024 * 1024 return candidate_model_size + def getModelPostfix(self): + return '.db' + def getCandidateModelName(self, index): candidate_model_name = "model-candidates-{0}.db" return candidate_model_name.format(index) -- cgit