crowdmodel.agents
Class Rule

java.lang.Object
  extended by crowdmodel.agents.MemoryElement
      extended by crowdmodel.agents.Rule
Direct Known Subclasses:
BehaviourRule

public abstract class Rule
extends MemoryElement

Rule is a type of memoryElement. Memory has 3 types of elements: Rules, Facts and Goals A rule defines a manipulation (internally or externally) \\TODO refer to pages in thesis

Author:
Nanda Wijermans

Field Summary
 
Fields inherited from class crowdmodel.agents.MemoryElement
d_activation, d_baseLevel, d_contextLevel, d_id, d_name, d_thisAgent, d_thisAgentFlag, d_thisMemory, d_thisMemoryFlag
 
Constructor Summary
Rule()
           
 
Method Summary
 void execute()
          Function that describes the execution of the given rule.
 
Methods inherited from class crowdmodel.agents.MemoryElement
approxB, contextActivation, getActivation, getID, getLastPrimeTime, getName, prime, setThisAgent, setThisMemory, toString, updateActivation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rule

public Rule()
Method Detail

execute

public void execute()
Function that describes the execution of the given rule. Returns the success of execution