C# Class EmotionalAppraisal.BaseEmotion

Represents an emotion, which is an instance of a particular Emotion Type
Inheritance: IEmotion
Afficher le fichier Open project: GAIPS-INESC-ID/FAtiMA-Toolkit Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetCause ( AM am ) : IBaseEvent
GetHashCode ( ) : int
IncreatePotential ( float delta ) : void
ToDto ( AM am ) : EmotionDTO
ToString ( AM am ) : string

Méthodes protégées

Méthode Description
BaseEmotion ( BaseEmotion other ) : System.Collections.Generic

Clone constructor

BaseEmotion ( string type, EmotionValence valence, IEnumerable appraisalVariables, float potential, bool influencesMood, uint causeId ) : System.Collections.Generic
BaseEmotion ( string type, EmotionValence valence, IEnumerable appraisalVariables, float potential, bool influencesMood, uint causeId, Name direction ) : System.Collections.Generic

Creates a new BasicEmotion

Method Details

BaseEmotion() protected méthode

Clone constructor
protected BaseEmotion ( BaseEmotion other ) : System.Collections.Generic
other BaseEmotion the emotion to clone
Résultat System.Collections.Generic

BaseEmotion() protected méthode

protected BaseEmotion ( string type, EmotionValence valence, IEnumerable appraisalVariables, float potential, bool influencesMood, uint causeId ) : System.Collections.Generic
type string
valence EmotionValence
appraisalVariables IEnumerable
potential float
influencesMood bool
causeId uint
Résultat System.Collections.Generic

BaseEmotion() protected méthode

Creates a new BasicEmotion
protected BaseEmotion ( string type, EmotionValence valence, IEnumerable appraisalVariables, float potential, bool influencesMood, uint causeId, Name direction ) : System.Collections.Generic
type string the type of the Emotion
valence EmotionValence
appraisalVariables IEnumerable
potential float the potential value for the intensity of the emotion
influencesMood bool
causeId uint
direction Name if the emotion is targeted to someone (ex: angry with Luke), this parameter specifies the target
Résultat System.Collections.Generic

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetCause() public méthode

public GetCause ( AM am ) : IBaseEvent
am AutobiographicMemory.AM
Résultat IBaseEvent

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IncreatePotential() public méthode

public IncreatePotential ( float delta ) : void
delta float
Résultat void

ToDto() public méthode

public ToDto ( AM am ) : EmotionDTO
am AutobiographicMemory.AM
Résultat EmotionalAppraisal.DTOs.EmotionDTO

ToString() public méthode

public ToString ( AM am ) : string
am AutobiographicMemory.AM
Résultat string