neat.PhysTree._evaluate_comp_criteria

PhysTree._evaluate_comp_criteria(node, eps=1e-08, rbool=False)[source]

Return True if relative difference in any physiological parameters between node and child node is larger than margin eps.

Overrides the MorphTree._evaluate_comp_criteria() function called by MorphTree.set_comp_tree().

Parameters:
  • node (::class::MorphNode) – node that is compared to parent node

  • eps (float (optional, default 1e-8)) – the margin

Return type:

bool