Crate belief_spread

Crate belief_spread 

Source
Expand description

A library for modelling how beliefs spread through social networks.

Modules§

errors
This module contains various errors that may be produced.

Structs§

BasicAgent
A BasicAgent is an implementation of Agent.
BasicBehaviour
A BasicBehaviour is an implementation of a Behaviour.
BasicBelief
An implementation of Belief.

Traits§

Agent
An Agent which may exist in the model.
Behaviour
A Behaviour.
Belief
A Belief.
Named
Something with a name.
UUIDd
Something with a Uuid.

Functions§

update_activation_for_agent
Updates the activation for a given Agent time and BeliefPtr.

Type Aliases§

AgentPtr
A Rc RefCell pointer to an Agent compared by its address.
BehaviourPtr
A Rc RefCell pointer to Behaviour compared by address.
BeliefPtr
A Rc RefCell pointer to a Belief that is compared by address;
SimTime
The simulation time.