pyactr

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Info framework.Info = framework.Info{
	Name:           "pyactr",
	Language:       "python",
	FileExtension:  "py",
	ExecutableName: "python3",

	PythonRequiredPackages: []string{"pyactr"},
}

Functions

This section is empty.

Types

type PyACTR

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

func New

func New(ctx *cli.Context) (p *PyACTR, err error)

New simply creates a new PyACTR instance and sets the tmp path from the context.

func (PyACTR) Info added in v0.5.0

func (PyACTR) Info() *framework.Info

func (*PyACTR) Initialize

func (p *PyACTR) Initialize() (err error)

func (PyACTR) Model added in v0.4.0

func (p PyACTR) Model() (model *actr.Model)

func (*PyACTR) Run

func (p *PyACTR) Run(initialBuffers framework.InitialBuffers) (result *framework.RunResult, err error)

func (*PyACTR) SetModel

func (p *PyACTR) SetModel(model *actr.Model) (err error)

func (PyACTR) ValidateModel added in v0.6.0

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

func (*PyACTR) WriteModel

func (p *PyACTR) WriteModel(path string, initialBuffers framework.InitialBuffers) (outputFileName string, err error)

Jump to

Keyboard shortcuts

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