クラス
org.boxed_economy.besp.model.fmfw.Agent の使用

Agent を使用しているパッケージ
org.boxed_economy.besp.model.fmfw   
org.boxed_economy.components.cell   
 

org.boxed_economy.besp.model.fmfw での Agent の使用
 

Agent を返す org.boxed_economy.besp.model.fmfw のメソッド
 Agent World.getAgent(AgentType type)
          引数のTypeのAgentを返します。
 Agent World.createAgent()
          デフォルトの定数を利用してエージェントを生成します。
 Agent World.createAgent(AgentType type)
          エージェントを生成します。
 Agent Relation.getSource()
          このrelationを持っているagentを返します。
 Agent Relation.getTarget()
          このrelationが指しているagentを返します。
 Agent Behavior.getAgent()
          Behaviorを持つAgentを返します。
 Agent AgentManager.getAgent(AgentType type)
          引数のTypeのAgentを返します。
 

Agent 型のパラメータを持つ org.boxed_economy.besp.model.fmfw のメソッド
 void World.destroyAgent(Agent agent)
          WorldからAgentを削除します。
 void RelationManager.removeRelationsByAgent(Agent agent)
          引数のAgentへのRelationを削除します。
 Relation RelationManager.getRelation(RelationType type, Agent agent)
          引数のType、かつ関係先が引数のAgentであるRelationを返します 存在しない場合、Exceptionを投げます
 void AgentManager.addAgent(Agent newAgent)
          Agentを追加します。
 void AgentManager.removeAgent(Agent target)
          引数に指定したAgentをリストから削除します。
 void Agent.receiveDeathEvent(Agent target)
          他のAgentが死亡(あるいは倒産)したときに、そのAgentとの関係を削除するために 呼ばれるメソッドです。
 void Agent.addRelation(Agent target)
          デフォルトのTypeを利用してRelationを追加します。
 void Agent.addRelation(RelationType relationType, Agent target)
          Relationを追加します。
 Relation Agent.getRelation(RelationType type, Agent agent)
          引数のType、かつ関係先が引数のAgentであるRelationを返します
 

Agent 型のパラメータを持つ org.boxed_economy.besp.model.fmfw のコンストラクタ
RelationManager(Agent agent)
           
Relation(RelationType type, Agent source, Agent target)
          コンストラクタです。
BehaviorManager(Agent agent)
          コンストラクタです。
 

org.boxed_economy.components.cell での Agent の使用
 

Agent 型のパラメータを持つ org.boxed_economy.components.cell のメソッド
 void CellSpace.moveAgent(Agent agent, Cell newCell)
          エージェントを移動させるためのメソッドです。
 void CellSpace.addAgent(Agent agent, int x, int y)
          x,yの座標のCellにエージェントを追加します。
 void CellSpace.removeAgent(Agent agent)
          このSpaceからAgentを削除します。
 Cell CellSpace.getCell(Agent agent)
          エージェントのいるCellを検索します。
 java.util.Collection CellSpace.getCells(Agent centerAgent, CellScope scope)
          エージェントとスコープから該当するセルを取得します。
 java.util.Collection CellSpace.getAgents(Agent centerAgent, CellScope scope)
          エージェントとスコープから該当するエージェントを取得します。