neurolang.perior_tree module¶
- class neurolang.perior_tree.Boundary(lb, ub)¶
Bases:
BoundedAABB
- Attributes:
- center
- dim
- lb
- limits
- ub
- volume
- width
Methods
adjust_direction
adjust_position
adjust_to_bound
cardinal_tiles
contains
contains_tuple
direction_matrix
expand
expand_object
expand_tuple
intersects
overlaps
union
- adjust_direction(point)¶
- class neurolang.perior_tree.BoundedAABB(lb: tuple, ub: tuple, bounded_area: Boundary)¶
Bases:
AABB
- Attributes:
- center
- dim
- lb
- limits
- ub
- volume
- width
Methods
adjust_to_bound
cardinal_tiles
contains
contains_tuple
direction_matrix
expand
expand_object
expand_tuple
intersects
overlaps
union
- cardinal_tiles() array ¶
- property center: array¶
- contains(arg)¶
- direction_matrix(other: BoundedAABB) matrix ¶
- expand(arg)¶
- expand_object(another_box: BoundedAABB)¶
- intersects(other: BoundedAABB) bool ¶
- class neurolang.perior_tree.Node(box: BoundedAABB, parent: None | Node = None, left: None | Node = None, right: None | Node = None, height: int = 0, region_ids: Set[int] | None = None)¶
Bases:
object
- Attributes:
- is_leaf
- property is_leaf¶
- class neurolang.perior_tree.Tree¶
Bases:
object
Methods
add
expand_region_box
query_regions_axdir
query_regions_contained_in_box
- expand_region_box(region_id: int, added_box: BoundedAABB) None ¶
- query_regions_contained_in_box(box: BoundedAABB) Set[int] ¶
- neurolang.perior_tree.methdispatch(func)¶