Skip to content

Commit 24e8428

Browse files
authored
Update __init__.py
1 parent 34e991a commit 24e8428

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mesa/experimental/memory/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,11 @@
44
entries recording in mesa. The Memory class is a manager between the ShortTermMemory
55
(dque data structure) and LongTermMemory (hash map).
66
7-
Key features:
8-
9-
- Priority-based event ordering
10-
- Weak references to prevent memory leaks from canceled events
11-
- Efficient event insertion and removal using a heap queue
12-
- Support for event cancellation without breaking the heap structure
13-
147
The module contains three main components:
158
- Priority: An enumeration defining event priority levels (HIGH, DEFAULT, LOW)
169
- SimulationEvent: A class representing individual events with timing and execution details
1710
- EventList: A heap-based priority queue managing the chronological ordering of events
1811
19-
The implementation supports both pure discrete event simulation and hybrid approaches
20-
combining agent-based modeling with event scheduling.
2112
"""
2213

2314
from .memory import LongTermMemory, Memory, MemoryEntry, ShortTermMemory

0 commit comments

Comments
 (0)