Mercurial Hosting > traffic-intelligence
diff python/utils.py @ 686:cdee6a3a47b4 dev
allowing alternate database and filename for classify-objects
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 09 Jun 2015 17:29:03 +0200 |
parents | da1352b89d02 |
children | de278c5e65f6 |
line wrap: on
line diff
--- a/python/utils.py Fri Jun 05 17:13:28 2015 +0200 +++ b/python/utils.py Tue Jun 09 17:29:03 2015 +0200 @@ -624,7 +624,11 @@ class LCSS(object): '''Class that keeps the LCSS parameters - and puts together the various computations''' + and puts together the various computations + + the methods with names starting with _ are not to be shadowed + in child classes, who will shadow the other methods, + ie compute and computeXX methods''' def __init__(self, similarityFunc, delta = float('inf'), aligned = False, lengthFunc = min): self.similarityFunc = similarityFunc self.aligned = aligned