Skip to content

Class HTM::Models::RobotNode

Inherits Object
Defined in lib/htm/models/robot_node.rb

RobotNode Join Model - Links robots to nodes (many-to-many)

This model represents the relationship between a robot and a node, tracking when and how many times a robot has "remembered" a piece of content.

Public Instance Methods

deleted?()

Check if entry is soft-deleted - @return [Boolean] true if deleted_at is set

record_remember!()

Record that a robot remembered this content again - @return [RobotNode] Updated record

restore!()

Restore a soft-deleted entry - @return [Boolean] true if restored successfully

soft_delete!()

Soft delete - mark as deleted without removing from database - @return [Boolean] true if soft deleted successfully

validate()

Validations

working_memory?()

Check if this node is in working memory - @return [Boolean] true if working_memory is set