Table of Contents

Class BeliefSet

Namespace
Aplib.Core.Belief.BeliefSets
Assembly
Aplib.Core.dll

This class can be inherited to define a set of beliefs for an agent. All public fields defined in the inheriting class that implement IBelief are automatically updated when calling UpdateBeliefs().

public class BeliefSet : IBeliefSet
Inheritance
BeliefSet
Implements
Inherited Members

Constructors

BeliefSet()

Initializes a new instance of the BeliefSet class and stores all public fields defined in the inheriting class that implement IBelief in an array. All public IBelief fields are then automatically updated when calling UpdateBeliefs().

protected BeliefSet()

Methods

UpdateBeliefs()

Updates all objects that implement IBelief and that are defined as public fields in the inheriting class.

public void UpdateBeliefs()