vanilla_actr

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package vanilla_actr provides functions to output the internal actr data structures in Lisp suitable for running using the ACT-R code, and to run those models on the Clozure Common Lisp compiler.

Index

Constants

This section is empty.

Variables

View Source
var Info framework.Info = framework.Info{
	Name:          "vanilla",
	Language:      "commonlisp",
	FileExtension: "lisp",
}

Functions

This section is empty.

Types

type VanillaACTR

type VanillaACTR struct {
	framework.Framework
	framework.WriterHelper
	// contains filtered or unexported fields
}

func New

func New(settings *cli.Settings) (v *VanillaACTR, err error)

New simply creates a new VanillaACTR instance and sets some paths from the context.

func (*VanillaACTR) GenerateCode added in v0.8.0

func (v *VanillaACTR) GenerateCode(initialBuffers framework.InitialBuffers) (code []byte, err error)

GenerateCode converts the internal actr.Model to Lisp code.

func (VanillaACTR) Info added in v0.5.0

func (VanillaACTR) Info() *framework.Info

func (VanillaACTR) Model added in v0.4.0

func (c VanillaACTR) Model() (model *actr.Model)

func (*VanillaACTR) Run

func (v *VanillaACTR) Run(initialBuffers framework.InitialBuffers) (result *framework.RunResult, err error)

func (*VanillaACTR) SetModel

func (v *VanillaACTR) SetModel(model *actr.Model) (err error)

func (VanillaACTR) ValidateModel added in v0.6.0

func (VanillaACTR) ValidateModel(model *actr.Model) (log *issues.Log)

func (*VanillaACTR) WriteModel

func (v *VanillaACTR) WriteModel(path string, initialBuffers framework.InitialBuffers) (outputFileName string, err error)

WriteModel converts the internal actr.Model to Lisp and writes it to a file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL