Optional id: AgentIdOptional properties: AgentPropertiesProtected _positionCurrent position in environment
Private Optional behaviorReadonly createdCreation timestamp
Private fallbackThe action run when there is no model answer to act on; a random step when none is set.
Private fallbackReadonly idUnique identifier for this agent
Protected lastLast update timestamp
Private maxPrivate performancePrivate predictionProtected propertiesAgent properties with type-safe access
Protected stateCurrent agent state
Static prefixedGet current agent state
Private addAdd action to prediction history
Private executeExecute a predicted action
Private executeExecute custom action (for domain-specific extensions)
Private executeExecute interaction action
Private executeExecute movement action
Private executeExecute property change action
Get all properties as readonly record
Private getThe agent's current state, as its model reads it: public so a run's situations can be kept for keying
Private getPrivate getPrivate getPrivate getGet performance metrics
Get prediction history
Get all agent properties as an object
Get agent property with type safety
Load a behavior model for this agent
ML behavior model to use
Set the action run when there is no model answer to act on (NSMnumTable sets each row's "don't know" action)
Set position with validation and event emission
Set agent property with validation and event emission
Private stepPrivate stepPrivate updateProtected validateProtected validateValidate position before setting Override in subclasses for custom validation
Protected validateValidate property value before setting Override in subclasses for custom validation
ML-enhanced agent that uses machine learning models for decision making