cz.cuni.amis.pogamut.episodic.episodes
Class ObjectNode

Package class diagram package ObjectNode
java.lang.Object
  extended by cz.cuni.amis.pogamut.episodic.episodes.ObjectNode
All Implemented Interfaces:
Serializable

public class ObjectNode
extends Object
implements Serializable

ObjectNode represent a trace of an actual item in episodic memory. Any object that was used by an agent while performing an action is remembered in the memory. In memory there is a list of objects used that is common to all Chronobagss and Episodes. ObjectNodes are linked to ObjectSlots they were used in. That way it is possible to find out what object was used at specified slot or what slots (or episodes) were filled by specified object.

Author:
Michal Cermak
See Also:
Serialized Form

Field Summary
 HashSet<ObjectSlot> usedAt
          Set of all slots, this object was used in.
 
Method Summary
 int getId()
          Getter method for the id variable.
 String getName()
          Getter method for the name variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usedAt

public HashSet<ObjectSlot> usedAt
Set of all slots, this object was used in. An object can be used in several slots of different type, in several different episodes belonging to different chronobags or in several slot in one episode. For each object here it can be found where the object was used.

Method Detail

getId

public int getId()
Getter method for the id variable.

Returns:
Returns ID of this node. Used as an ID of vertex representing this node when visualizing Chronobag View.

getName

public String getName()
Getter method for the name variable.

Returns:
Returns name of the item represented by this object node. No two items should have identical name.


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.