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 ¶
- Variables
- type VanillaACTR
- func (v *VanillaACTR) GenerateCode(initialBuffers framework.InitialBuffers) (code []byte, err error)
- func (VanillaACTR) Info() *framework.Info
- func (c VanillaACTR) Model() (model *actr.Model)
- func (v *VanillaACTR) Run(initialBuffers framework.InitialBuffers) (result *framework.RunResult, err error)
- func (v *VanillaACTR) SetModel(model *actr.Model) (err error)
- func (VanillaACTR) ValidateModel(model *actr.Model) (log *issues.Log)
- func (v *VanillaACTR) WriteModel(path string, initialBuffers framework.InitialBuffers) (outputFileName string, err error)
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) 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.
Click to show internal directories.
Click to hide internal directories.