neurots.generate.algorithms.abstractgrower¶
Abstract class for TreeGrower Algorithms.
Classes
|
TreeGrower abstract class. |
- class neurots.generate.algorithms.abstractgrower.AbstractAlgo(input_data, params, start_point, context)¶
Bases:
object
TreeGrower abstract class.
- Parameters:
- abstract bifurcate(current_section)¶
When the section bifurcates two new sections need to be created.
This method computes from the current state the data required for the generation of two new sections and returns the corresponding dictionaries.
- abstract extend(current_section)¶
Definition of stop criterion for the growth of the current section.
- abstract initialize()¶
Abstract TreeGrower Algorithm initialization.
Generates the data to be used for the initialization of the first section to be grown.
- abstract terminate(current_section)¶
Terminate the current section.
When the growth of a section is terminated the “term” must be removed from the TMD grower.