blocksnet.method.base_method
Classes
|
BaseMethod class required for methods implementation. |
- class blocksnet.method.base_method.BaseMethod(*, city_model: City, verbose: bool = True)[source]
Bases:
ABC
,BaseModel
BaseMethod class required for methods implementation.
- Variables:
city_model (InstanceOf[City]) – Instance of the City model used in the method.
verbose (bool, optional) – Whether to display progress, default is True.
- calculate(*args, \*\*kwargs) any [source]
Main calculation method that should be overridden in child class.
- verbose: bool