logging
Class FeelingLog

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

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

Used to store a feeling value of our agent toward other agent at certain time in our scenario.

See Also:
Serialized Form

Field Summary
 int agentId
          Id of the target agent.
 java.lang.String agentName
          Name of the target agent.
 double intensity
          The feeling intensity.
 double time
          The time the feeling value was captured.
 
Constructor Summary
FeelingLog(double time, int agentId, double intensity)
          Limited constructor - we do not know agent's name.
FeelingLog(double time, int agentId, java.lang.String agentName, double intensity)
          Complete constructor - we have all the infromation.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

public double time
The time the feeling value was captured.


agentId

public int agentId
Id of the target agent.


agentName

public java.lang.String agentName
Name of the target agent.


intensity

public double intensity
The feeling intensity.

Constructor Detail

FeelingLog

public FeelingLog(double time,
                  int agentId,
                  double intensity)
Limited constructor - we do not know agent's name.

Parameters:
time -
agentId -
intensity -

FeelingLog

public FeelingLog(double time,
                  int agentId,
                  java.lang.String agentName,
                  double intensity)
Complete constructor - we have all the infromation.

Parameters:
time -
agentId -
agentName -
intensity -