eta.memory.Memory
- class Memory(event, importance=0.25)[source]
Bases:
object
Represents a single memory, which consists of a temporally bounded event with some importance value.
- Parameters:
event (Eventuality) – The eventuality of this memory.
importance (float, optional) – A numerical score representing how important this memory is.
- event
- Type:
- start_time
The earliest time at which the event in this memory is known to be true. This is initialized as the current time upon initialization of a new memory.
- Type:
- end_time
The latest time at which the event in this memory is known to be true. This is initialized as None, interpreted as the event being “true now”.
- Type:
TimePoint, optional
- last_access
The most recent time that this memory was accessed from memory storage, initialized as the start time.
- Type:
Notes
The start time only marks the earliest time point at which an episode is known to be true; likewise for the end time. Thus, their logical interpretation should be as follows:
(<start_time> during <event>.ep)
(<end_time> during <event>.ep)
Where
<end_time>
is to be read as an indexical variable^now
if no value is supplied.Methods
Declare that this memory is no longer true by storing the current time as its end time.
Get the episode of the event of this memory.
Get the wffs corresponding to the beginning and end of this memory.
Get the wff of the event of this memory.
Check whether this memory represents a telic event (i.e., one that is essentially instantaneous).
Update the most recent access of this memory to the current time.
- end()[source]
Declare that this memory is no longer true by storing the current time as its end time.