crowdmodel.agents
Class ManipulationRule

java.lang.Object
  extended by crowdmodel.agents.MemoryElement
      extended by crowdmodel.agents.Rule
          extended by crowdmodel.agents.BehaviourRule
              extended by crowdmodel.agents.ManipulationRule
All Implemented Interfaces:
java.lang.Comparable

public class ManipulationRule
extends BehaviourRule

A manipulation rule concerns a behaviour that involves one object changing the other.

source: Schweingruber1994, pp13 | McPhail Depending on the object of manipulation and the manipulator itself certain actions are possible:
Physical object:

Person is object: Person is self:

Author:
Nanda

Field Summary
static java.lang.String[] objectManips
           
private  java.util.ArrayList<java.lang.String> objectManipsList
           
static java.lang.String[] personManips
           
private  java.util.ArrayList<java.lang.String> personManipsList
           
static java.lang.String[] selfManips
           
private  java.util.ArrayList<java.lang.String> selfManipsList
           
 
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
ManipulationRule()
           
 
Method Summary
 void execute(CellObject obj, java.lang.String manipulation)
           
 void execute(CrowdAgent agent, java.lang.String manipulation)
           
 void execute(java.lang.String manipulation)
           
 
Methods inherited from class crowdmodel.agents.BehaviourRule
compareTo, updateActivation
 
Methods inherited from class crowdmodel.agents.Rule
execute
 
Methods inherited from class crowdmodel.agents.MemoryElement
approxB, contextActivation, getActivation, getID, getLastPrimeTime, getName, prime, setThisAgent, setThisMemory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objectManips

public static final java.lang.String[] objectManips

personManips

public static final java.lang.String[] personManips

selfManips

public static final java.lang.String[] selfManips

objectManipsList

private java.util.ArrayList<java.lang.String> objectManipsList

personManipsList

private java.util.ArrayList<java.lang.String> personManipsList

selfManipsList

private java.util.ArrayList<java.lang.String> selfManipsList
Constructor Detail

ManipulationRule

ManipulationRule()
Method Detail

execute

public void execute(CellObject obj,
                    java.lang.String manipulation)

execute

public void execute(CrowdAgent agent,
                    java.lang.String manipulation)

execute

public void execute(java.lang.String manipulation)