retex v0.1.5 Retex.Wme View Source

A working memory element, it represent the world in the form of identifier, attribute and values timestamp is set at time of insertion into retex

Link to this section Summary

Link to this section Types

Link to this type

attribute()

View Source
attribute() :: String.t() | atom()
Link to this type

t()

View Source
t() :: %Retex.Wme{
  attribute: attribute(),
  id: id(),
  identifier: wme_identifier(),
  timestamp: number(),
  value: value()
}
Link to this type

wme_identifier()

View Source
wme_identifier() :: String.t() | atom()

Link to this section Functions

Link to this function

new(id, attr, val)

View Source
new(id(), attribute(), value()) :: t()