Commit 3c9e1ece authored by GromeTT's avatar GromeTT
Browse files

ENH: Added documentation for felly

parent 3399cab7
"""This module implements the class Fells."""
from ml.ml40.features.functionalities.functionality import Functionality
from import TreeData
from import FellingJob
class Fells(Functionality):
"""This functionality signalizes that FellingJobs can be processed and
offers the possibility to fell trees."""
def __init__(self, name="", identifier=""):
"""Initializes the object.
:param name: Object name
:param identifier: Identifier
def executeFellingJob(self, job: FellingJob):
"""Executes the given FellingJob.
:param FellingJob: Specification of the job
print("i am executing the felling job {}".format(job))
def fell(self, tree_data: TreeData):
"""Fells the tree specified by tree_data
:param tree_data: Description of the tree.
print("i am felling the tree {}".format(tree_data))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment