logging
Class ActionLog

java.lang.Object
  extended by logging.ActionLog
All Implemented Interfaces:
java.io.Serializable

public class ActionLog
extends java.lang.Object
implements java.io.Serializable

This class is used to store one action issued in our scenario.

See Also:
Serialized Form

Field Summary
 ActionType actionType
          The type of the action.
 double duration
          Duration of the action.
 double feeling
          Feeling value toward target agent of the action at the time of issueing.
 int targetId
          Id of the target agent.
 java.lang.String targetName
          Name of target agent of the action.
 double time
          Time of the action.
 
Constructor Summary
ActionLog(ActionType actionType, int targetId, double feeling, java.lang.String targetName, double time, double duration)
          Complete constructor that initializes all the variables.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionType

public ActionType actionType
The type of the action.


targetId

public int targetId
Id of the target agent.


feeling

public double feeling
Feeling value toward target agent of the action at the time of issueing.


targetName

public java.lang.String targetName
Name of target agent of the action.


time

public double time
Time of the action.


duration

public double duration
Duration of the action.

Constructor Detail

ActionLog

public ActionLog(ActionType actionType,
                 int targetId,
                 double feeling,
                 java.lang.String targetName,
                 double time,
                 double duration)
Complete constructor that initializes all the variables.

Parameters:
actionType -
targetId -
feeling -
targetName -
time -
duration -