Versions in this module Expand all Collapse all v0 v0.0.1 Jan 17, 2023 Changes in this version + type AgentSpec struct + Actions map[b.SimTime]uuid.UUID + Activations map[b.SimTime]map[uuid.UUID]float64 + Deltas map[uuid.UUID]float64 + Friends map[uuid.UUID]float64 + Uuid uuid.UUID + func NewAgentSpecFromAgent(a *b.Agent) (spec *AgentSpec) + func (spec *AgentSpec) LinkFriends(agents map[uuid.UUID]*b.Agent) + func (spec *AgentSpec) ToAgent(behaviours []*b.Behaviour, beliefs []*b.Belief) *b.Agent + type BehaviourSpec struct + Name string + Uuid uuid.UUID + func (spec *BehaviourSpec) ToBehaviour() *b.Behaviour + type BeliefSpec struct + Name string + Perceptions map[uuid.UUID]float64 + Relationships map[uuid.UUID]float64 + Uuid uuid.UUID + func (spec *BeliefSpec) LinkBeliefRelationships(beliefs []*b.Belief) + func (spec *BeliefSpec) ToBelief(behaviours []*b.Behaviour) *b.Belief + type Configuration struct + Agents []*b.Agent + Behaviours []*b.Behaviour + Beliefs []*b.Belief + EndTime b.SimTime + FullOutput bool + OutputFile *os.File + Prs PerformanceRelationships + StartTime b.SimTime + type OutputSpec struct + MeanActivation map[uuid.UUID]float64 + MedianActivation map[uuid.UUID]float64 + NPerformers map[uuid.UUID]uint64 + NonzeroActivationCount map[uuid.UUID]uint64 + SDActivation map[uuid.UUID]float64 + func NewOutputSpec() *OutputSpec + type OutputSpecs struct + Data map[b.SimTime]OutputSpec + func NewOutputSpecs(agents []*b.Agent, beliefs []*b.Belief, startTime b.SimTime, endTime b.SimTime) *OutputSpecs + type PerformanceRelationshipSpec struct + BehaviourUuid uuid.UUID + BeliefUuid uuid.UUID + Value float64 + type PerformanceRelationships map[*b.Belief]map[*b.Behaviour]float64 + func PRSSpecToPerformanceRelationships(prss []PerformanceRelationshipSpec, beliefs map[uuid.UUID]*b.Belief, ...) PerformanceRelationships + type Runner struct + Configuration *Configuration + Logger *zap.Logger + func (r *Runner) Run()