Package eu.su.mas.dedale.env
Class EntityCharacteristics
java.lang.Object
eu.su.mas.dedale.env.EntityCharacteristics
- All Implemented Interfaces:
Serializable
This class contain, for each agent, all its (default) characteristics
- Author:
- hc
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityCharacteristics
(String agentName, EntityType entityType, int diamondCapa, int goldCapa, int comReach, Location initialLocation, int detectionRadius, Set<dataStructures.tuple.Couple<LockElement.LockType, Integer>> expertise) -
Method Summary
Modifier and TypeMethodDescriptionSet
<dataStructures.tuple.Couple<LockElement.LockType, Integer>> void
toString()
-
Constructor Details
-
EntityCharacteristics
-
EntityCharacteristics
public EntityCharacteristics(String agentName, EntityType entityType, int diamondCapa, int goldCapa, int comReach, Location initialLocation, int detectionRadius, Set<dataStructures.tuple.Couple<LockElement.LockType, Integer>> expertise) - Parameters:
agentName
- localNameentityType
- definesTheCaracteristics of the agentdiamondCapa
- Quantity of diamond it can carrygoldCapa
- Quantity of gold it can carrycomReach
- Maximal distance from which the agent can be reachedinitialLocation
- null if randomdetectionRadius
- maximal distance from which the presence of the agent can be detected (stench in the env)expertise
- null is no lock
-
-
Method Details