C# 클래스 EmotionalAppraisal.ActiveEmotion

상속: IActiveEmotion, ICustomSerialization
파일 보기 프로젝트 열기: GAIPS-INESC-ID/FAtiMA-Toolkit 1 사용 예제들

공개 메소드들

메소드 설명
ActiveEmotion ( EmotionDTO emotionDTO, int threshold, int decay ) : System
ActiveEmotion ( IEmotion emotion, float potential, int threshold, int decay, ulong tickStamp ) : System

Creates a new ActiveEmotion

Equals ( object obj ) : bool
GetCause ( AM am ) : IBaseEvent
GetHashCode ( ) : int
GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
ReforceEmotion ( float potential ) : void

Reforces the intensity of the emotion by a given potential

SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
ToDto ( AM am ) : EmotionDTO
ToString ( AM am ) : string

비공개 메소드들

메소드 설명
DecayEmotion ( EmotionalAppraisalAsset parent ) : void

Decays the emotion according to the system's time

SetIntensity ( float value, ulong tickStamp ) : void

메소드 상세

ActiveEmotion() 공개 메소드

public ActiveEmotion ( EmotionDTO emotionDTO, int threshold, int decay ) : System
emotionDTO EmotionalAppraisal.DTOs.EmotionDTO
threshold int
decay int
리턴 System

ActiveEmotion() 공개 메소드

Creates a new ActiveEmotion
public ActiveEmotion ( IEmotion emotion, float potential, int threshold, int decay, ulong tickStamp ) : System
emotion IEmotion the BaseEmotion that is the base for this ActiveEmotion
potential float the potential for the intensity of the emotion
threshold int the threshold for the specific emotion
decay int the decay rate for the specific emotion
tickStamp ulong
리턴 System

Equals() 공개 메소드

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

GetCause() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetObjectData() 공개 메소드

public GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
리턴 void

ReforceEmotion() 공개 메소드

Reforces the intensity of the emotion by a given potential
public ReforceEmotion ( float potential ) : void
potential float the potential for the reinformcement of the emotion's intensity
리턴 void

SetObjectData() 공개 메소드

public SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
리턴 void

ToDto() 공개 메소드

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

ToString() 공개 메소드

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