C# 클래스 EmotionalAppraisal.BaseEmotion

Represents an emotion, which is an instance of a particular Emotion Type
상속: IEmotion
파일 보기 프로젝트 열기: GAIPS-INESC-ID/FAtiMA-Toolkit 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetCause ( AM am ) : IBaseEvent
GetHashCode ( ) : int
IncreatePotential ( float delta ) : void
ToDto ( AM am ) : EmotionDTO
ToString ( AM am ) : string

보호된 메소드들

메소드 설명
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

메소드 상세

BaseEmotion() 보호된 메소드

Clone constructor
protected BaseEmotion ( BaseEmotion other ) : System.Collections.Generic
other BaseEmotion the emotion to clone
리턴 System.Collections.Generic

BaseEmotion() 보호된 메소드

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
리턴 System.Collections.Generic

BaseEmotion() 보호된 메소드

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
리턴 System.Collections.Generic

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetCause() 공개 메소드

public GetCause ( AM am ) : IBaseEvent
am AutobiographicMemory.AM
리턴 IBaseEvent

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IncreatePotential() 공개 메소드

public IncreatePotential ( float delta ) : void
delta float
리턴 void

ToDto() 공개 메소드

public ToDto ( AM am ) : EmotionDTO
am AutobiographicMemory.AM
리턴 EmotionalAppraisal.DTOs.EmotionDTO

ToString() 공개 메소드

public ToString ( AM am ) : string
am AutobiographicMemory.AM
리턴 string