mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-17 02:23:26 +00:00
docs: updates to several patterns
This commit is contained in:
@@ -91,10 +91,6 @@ In this code, `SpatialPartition` is a class that represents the spatial partitio
|
||||
|
||||
This way, we can reduce the time complexity of finding the units within a certain range from O(n^2) to O(nlogn), decreasing the computations required significantly in case of a large number of units.
|
||||
|
||||
## Class diagram
|
||||
|
||||

|
||||
|
||||
## Applicability
|
||||
|
||||
* Use when managing a large number of objects in a spatial environment, such as in games or simulations.
|
||||
|
||||
Reference in New Issue
Block a user