Documentation ¶
Index ¶
- Variables
- type CCMPyACTR
- func (CCMPyACTR) Info() *framework.Info
- func (c *CCMPyACTR) Initialize() (err error)
- func (c CCMPyACTR) Model() (model *actr.Model)
- func (c *CCMPyACTR) Run(initialBuffers framework.InitialBuffers) (result *framework.RunResult, err error)
- func (c *CCMPyACTR) SetModel(model *actr.Model) (err error)
- func (CCMPyACTR) ValidateModel(model *actr.Model) (log *issues.Log)
- func (c *CCMPyACTR) WriteModel(path string, initialBuffers framework.InitialBuffers) (outputFileName string, err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CCMPyACTR ¶
type CCMPyACTR struct { framework.Framework framework.WriterHelper // contains filtered or unexported fields }
func (*CCMPyACTR) Initialize ¶
func (*CCMPyACTR) Run ¶
func (c *CCMPyACTR) Run(initialBuffers framework.InitialBuffers) (result *framework.RunResult, err error)
Run generates the python code from the amod file, writes it to disk, creates a "run" file to actually run the model, and returns the output (stdout and stderr combined).
func (*CCMPyACTR) SetModel ¶
SetModel sets our model and saves the python class name we are going to use.
func (CCMPyACTR) ValidateModel ¶ added in v0.6.0
func (*CCMPyACTR) WriteModel ¶
func (c *CCMPyACTR) WriteModel(path string, initialBuffers framework.InitialBuffers) (outputFileName string, err error)
WriteModel converts the internal actr.Model to python and writes it to a file.
Click to show internal directories.
Click to hide internal directories.